diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-08-17 10:58:06 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-08-17 11:03:42 +0000 |
commit | c0bf09013d1d9e1afd640aa2c4cce773b5be633a (patch) | |
tree | 30d83ba7e3094e5fe1d248275e58d2aea8150c09 /modules | |
parent | 197ff1d890d1db44e5de16ae2642c1c0969f3cf2 (diff) | |
download | nixlib-c0bf09013d1d9e1afd640aa2c4cce773b5be633a.tar nixlib-c0bf09013d1d9e1afd640aa2c4cce773b5be633a.tar.gz nixlib-c0bf09013d1d9e1afd640aa2c4cce773b5be633a.tar.bz2 nixlib-c0bf09013d1d9e1afd640aa2c4cce773b5be633a.tar.lz nixlib-c0bf09013d1d9e1afd640aa2c4cce773b5be633a.tar.xz nixlib-c0bf09013d1d9e1afd640aa2c4cce773b5be633a.tar.zst nixlib-c0bf09013d1d9e1afd640aa2c4cce773b5be633a.zip |
modules/zsh: fix Nix string escape
This previously output both <$>s. I'm not sure why that even worked.
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 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 |