Then just by moving the package to ~/.local/opt/sd and adding ~/.local/opt/sd/bin to PATH, the man page will Just Work™ as expected on any POSIX system.
Fish completions are actually generated automatically on-the-fly from the man page so long as it's well-formed and in the MANPATH (though pregenerating them may be better).
As for the others, I don't think Bash completions follow the POSIX standards. Probably not PS1 either. I'm not familiar with elv.
MANPATH
is built automatically fromPATH
and it requires that the man file be in../share/man
relative to./bin/sd
.So the package structure should look something like this to be POSIX compatible:
Then just by moving the package to
~/.local/opt/sd
and adding~/.local/opt/sd/bin
toPATH
, the man page will Just Work™ as expected on any POSIX system.Fish completions are actually generated automatically on-the-fly from the man page so long as it's well-formed and in the
MANPATH
(though pregenerating them may be better).As for the others, I don't think Bash completions follow the POSIX standards. Probably not PS1 either. I'm not familiar with
elv
.