diff --git a/other.fish b/other.fish index fda634f..a731544 100644 --- a/other.fish +++ b/other.fish @@ -1,6 +1,7 @@ function nixsh - if count $argv = 0 > /dev/null + if count $argv > /dev/null nix-shell --run "fish" + return $status end nix-shell --run "fish" -p $argv