Replies: 3 comments 12 replies
-
Support for man pages can probably done in the same way as completions: #4803 But I don't think it is a very usable feature because:
The alternative is to use something modern, like cheatsheets or tldr-pages |
Beta Was this translation helpful? Give feedback.
-
I didn't know about cheatsheets or tldr-pages before, thanks! they certainly will come handy. For my particular case I tend to use tools which are mostly cross-platform or standard unix tools and most of them provide man pages. Maybe If I submit a standalone package for man can this proposal be taken further? I tried cygwin and msys2 and both are very slow. |
Beta Was this translation helpful? Give feedback.
-
hi! pipx provide man page support. and works flawlessly on windows with msys2. as windows doesnt really care about man pages, so, why would there be a standard for it? and consequently, any implementation would follow to work with the msys2/cygwin etc. so i think just thes 3 things would be required:
$ pipx --help | grep -Ei "bin|manual"
Binaries can either be installed globally into isolated Virtual Environments
Symlinks to apps are placed in $USERPROFILE\.local\bin.
Symlinks to manual pages are placed in $USERPROFILE\.local\share\man.
PIPX_BIN_DIR Overrides location of app installations. Apps are
PIPX_MAN_DIR Overrides location of manual pages installations.
Manual pages are symlinked or copied here.
$ pipx environment | grep -Ei "bin|man" | tail -n2
PIPX_BIN_DIR=$USERPROFILE\.local\bin
PIPX_MAN_DIR=$USERPROFILE\.local\share\man
|
Beta Was this translation helpful? Give feedback.
-
Can we support man pages? It would definitely make the command line experience much better in windows. I noticed that 'man' program is available in both 'unxutils' and 'busybox' packages but I'm not sure bringing in whole coreutils for man is a good idea. Also I don't know which paths are configured for these man programs. Is it possible to provide a standalone package for man? If so, how hard it would be to add man pages for available packages?
Beta Was this translation helpful? Give feedback.
All reactions