summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-12-21 15:55:03 -0500
committerKjetil Orbekk <kj@orbekk.com>2021-12-21 15:55:03 -0500
commit26ba1d0da74edfdd5ef352eb592e970b33c090d4 (patch)
treeea08a8970b64ad2c15153ef27763b3445f4fda84 /zsh
parent8695012020d00baaccc5648963b2f74825a44db0 (diff)
Fix tramp
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc7
1 files 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.