From 4081bec5ac3b60f757807356e1b41ddbee7824d8 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Tue, 27 Aug 2019 11:00:58 -0400 Subject: [PATCH] zsh: remove unfunction on TERM=dumb Unfortunately this gives an error when precmd or preexec exists. Removing to avoid that. --- nixos/modules/programs/zsh/zsh.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix index 27f4166e100..6e9eefd74d1 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='$ '