summaryrefslogtreecommitdiff
path: root/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 9e227da..e50124b 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -1,3 +1,9 @@
+if [[ ${TERM} = "dumb" ]]; then
+ # 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.
@@ -36,7 +42,8 @@ setopt interactivecomments
alias ls="ls --color"
alias e="emacsclient -n"
-(( $+commands[exa] )) && alias ls="exa"
+# Never got used to this.
+# (( $+commands[exa] )) && alias ls="exa"
if (( $+commands[fzf] )); then
if (( $+commands[fzf-share] )); then