about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-08-27 11:00:58 -0400
committerGitHub <noreply@github.com>2019-08-27 11:00:58 -0400
commit4081bec5ac3b60f757807356e1b41ddbee7824d8 (patch)
tree71fd0f4e900cc5427d35864222bbf3ecbfc556e5 /nixos/modules/programs
parent4d739ce93db0a7855cebc6d3b8f85f09edc776e4 (diff)
downloadnixlib-4081bec5ac3b60f757807356e1b41ddbee7824d8.tar
nixlib-4081bec5ac3b60f757807356e1b41ddbee7824d8.tar.gz
nixlib-4081bec5ac3b60f757807356e1b41ddbee7824d8.tar.bz2
nixlib-4081bec5ac3b60f757807356e1b41ddbee7824d8.tar.lz
nixlib-4081bec5ac3b60f757807356e1b41ddbee7824d8.tar.xz
nixlib-4081bec5ac3b60f757807356e1b41ddbee7824d8.tar.zst
nixlib-4081bec5ac3b60f757807356e1b41ddbee7824d8.zip
zsh: remove unfunction on TERM=dumb
Unfortunately this gives an error when precmd or preexec exists. Removing to avoid that.
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/zsh/zsh.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix
index 27f4166e1005..6e9eefd74d18 100644
--- a/nixos/modules/programs/zsh/zsh.nix
+++ b/nixos/modules/programs/zsh/zsh.nix
@@ -214,7 +214,6 @@ in
         # Need to disable features to support TRAMP
         if [ "$TERM" = dumb ]; then
             unsetopt zle prompt_cr prompt_subst
-            unfunction precmd preexec
             unset RPS1 RPROMPT
             PS1='$ '
             PROMPT='$ '