summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorstuebinm2024-05-28 00:40:42 +0200
committerstuebinm2024-05-28 00:40:42 +0200
commit23889e8d54baede939d4b7a921cd0291a03e7b8f (patch)
tree24e4973f17adeb01933a843f6af9f44fa0e91eb2 /home
parent64a0c125747eb309faca1b905c0b46e98b4ad768 (diff)
home: fix stealemoji alias
exit is the wrong thing in shell functions …
Diffstat (limited to 'home')
-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