Symlink ~/.ghcup/share
Executing ghcup set <version>
now creates a symlink from ~/.ghcup/share
to ~/.ghcup/ghc/<version>/share
.
This allows man
to automatically find the correct manpage, provided ~/.ghcup/bin
is on the PATH
.
Like all symlinks created by ghcup set
, it is removed on ghcup rm <current-ghc>
.
Fixes #122 (closed).
Edited by Janfel