mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
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