Fix fish nix function recurse error
This commit is contained in:
@@ -2,11 +2,11 @@ set -gx fish_greeting
|
||||
|
||||
function nix
|
||||
if test "$argv[1]" = "develop"
|
||||
nix develop -c fish $argv[2..-1]
|
||||
command nix develop -c fish $argv[2..-1]
|
||||
else if test "$argv[1]" = "shell"
|
||||
env IN_NIX_SHELL=shell nix $argv
|
||||
else
|
||||
nix $argv
|
||||
command nix $argv
|
||||
end
|
||||
end
|
||||
function a
|
||||
|
||||
Reference in New Issue
Block a user