From 23889e8d54baede939d4b7a921cd0291a03e7b8f Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 28 May 2024 00:40:42 +0200 Subject: home: fix stealemoji alias exit is the wrong thing in shell functions … --- home/home.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home') 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 -- cgit v1.2.3