Skip to content

Commit

Permalink
feat: fix bash on/off (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
zifeo authored Oct 2, 2023
1 parent fc1b1d1 commit 60b146b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/on.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ preexec_lade() {
return
fi
LADE="$1"
eval $(lade set $argv)
eval $(lade set $@)
}

preexec_functions+=(preexec_lade)
Expand All @@ -15,7 +15,7 @@ precmd_lade() {
elif [ "$LADE" = "source on.bash" ]; then
return
fi
eval $(lade unset $argv)
eval $(lade unset $@)
unset -v LADE
}

Expand Down

0 comments on commit 60b146b

Please sign in to comment.