diff --git a/other.fish b/other.fish index a731544..c6fbced 100644 --- a/other.fish +++ b/other.fish @@ -1,5 +1,5 @@ function nixsh - if count $argv > /dev/null + if test (count $argv) = 0 nix-shell --run "fish" return $status end