about summary refs log tree commit diff
path: root/modules/shell/zsh/zshrc.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/shell/zsh/zshrc.nix')
-rw-r--r--modules/shell/zsh/zshrc.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shell/zsh/zshrc.nix b/modules/shell/zsh/zshrc.nix
index 5e730d765620..d8b080f45b0b 100644
--- a/modules/shell/zsh/zshrc.nix
+++ b/modules/shell/zsh/zshrc.nix
@@ -158,7 +158,7 @@ if [[ -v TMUX ]]; then
     }
 
     typeset -ag precmd_functions;
-    if [[ -z $${precmd_functions[(r)_tmux_hook]} ]]; then
+    if [[ -z ''${precmd_functions[(r)_tmux_hook]} ]]; then
         precmd_functions+=_tmux_hook;
     fi
 fi