summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home/home.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/home.nix b/home/home.nix
index d00c1db..9d2c41f 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -153,7 +153,7 @@
functions.stealemoji.body = ''
if [ (expr (count $argv) % 2) != 0 ]
echo wrong count of arguments
- exit 1
+ return 1
end
set n (expr (count $argv) / 2)
echo stealing $n emoji