From 26ba1d0da74edfdd5ef352eb592e970b33c090d4 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Tue, 21 Dec 2021 15:55:03 -0500 Subject: Fix tramp --- zsh/.zshrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index c0d0f7c..e50124b 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,8 +1,9 @@ if [[ ${TERM} = "dumb" ]]; then - echo "No zsh setup" - exit 0 + # This fixes TRAMP. + echo "Skip zsh setup" + unsetopt zle + return 0 fi - # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. # Initialization code that may require console input (password prompts, [y/n] # confirmations, etc.) must go above this block; everything else may go below. -- cgit v1.2.3