fish: Fixed tab completion with sudo (close #2705)
We don't have /sbin and /usr/sbin, so fish complains.
This commit is contained in:
parent
651595c969
commit
927c41e258
@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
|
||||
-e "s|which |${which}/bin/which |" \
|
||||
-i "$out/share/fish/functions/_.fish"
|
||||
sed -i "s|Popen(\['manpath'|Popen(\['${man_db}/bin/manpath'|" "$out/share/fish/tools/create_manpage_completions.py"
|
||||
sed -i "s|/sbin /usr/sbin||" \
|
||||
"$out/share/fish/functions/__fish_complete_subcommand_root.fish"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user