From cbaa1ecd04373c225fe80c2a853d744cd0493e35 Mon Sep 17 00:00:00 2001 From: Teo Stocco Date: Mon, 2 Oct 2023 18:03:09 +0200 Subject: [PATCH] feat: fix bash --- scripts/on.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/on.bash b/scripts/on.bash index bd06f64..674ef9c 100644 --- a/scripts/on.bash +++ b/scripts/on.bash @@ -4,7 +4,7 @@ preexec_lade() { return fi LADE="$1" - eval $(lade set $argv) + eval $(lade set $@) } preexec_functions+=(preexec_lade) @@ -15,7 +15,7 @@ precmd_lade() { elif [ "$LADE" = "source on.bash" ]; then return fi - eval $(lade unset $argv) + eval $(lade unset $@) unset -v LADE }