fish: don't use manpath(1) from PATH in functions/man.fish
Close #12762.
This commit is contained in:
parent
9468f2c925
commit
1072e2bf4d
|
@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
|
||||||
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
'' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
|
||||||
sed -i "s|(hostname\||(${nettools}/bin/hostname\||" "$out/share/fish/functions/fish_prompt.fish"
|
sed -i "s|(hostname\||(${nettools}/bin/hostname\||" "$out/share/fish/functions/fish_prompt.fish"
|
||||||
sed -i "s|Popen(\['manpath'|Popen(\['${man_db}/bin/manpath'|" "$out/share/fish/tools/create_manpage_completions.py"
|
sed -i "s|Popen(\['manpath'|Popen(\['${man_db}/bin/manpath'|" "$out/share/fish/tools/create_manpage_completions.py"
|
||||||
|
sed -i "s|command manpath|command ${man_db}/bin/manpath|" "$out/share/fish/functions/man.fish"
|
||||||
'' + ''
|
'' + ''
|
||||||
sed -i "s|/sbin /usr/sbin||" \
|
sed -i "s|/sbin /usr/sbin||" \
|
||||||
"$out/share/fish/functions/__fish_complete_subcommand_root.fish"
|
"$out/share/fish/functions/__fish_complete_subcommand_root.fish"
|
||||||
|
|
Loading…
Reference in a new issue