diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/shell/zsh/zshrc.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shell/zsh/zshrc.nix b/modules/shell/zsh/zshrc.nix index 3cf9e2fe76a4..869e33e24e99 100644 --- a/modules/shell/zsh/zshrc.nix +++ b/modules/shell/zsh/zshrc.nix @@ -207,7 +207,7 @@ preexec() { } precmd() { - ex="$?" + local ex="$?" if [[ -n "$show_exit" && "$ex" -ne 0 ]] then echo -e "\r\e[33m[exit $ex]\e[0m" fi |