From e31244563a6bc8b477609b6b509ff7734b77cfd3 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sat, 19 Oct 2024 15:21:13 +0000 Subject: [PATCH] fix tramp mode --- zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index bbae840..69217dd 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,3 +1,6 @@ +# fixing emacs TRAMP +[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return + setopt interactivecomments # allow comments in interactive mode setopt magicequalsubst # enable filename expansion for arguments of the form ‘anything=expression’ setopt nonomatch # hide error message if there is no match for the pattern