summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-12-21 15:49:04 -0500
committerKjetil Orbekk <kj@orbekk.com>2021-12-21 15:49:04 -0500
commit8695012020d00baaccc5648963b2f74825a44db0 (patch)
tree966c4dfbc3a072d3c1733feb869912b6f88e3990 /zsh
parent3f1028f0c6207a71fa428de39eb7e3b218685b28 (diff)
Skip zsh setup with TRAMP
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc8
1 files changed, 7 insertions, 1 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 9e227da..c0d0f7c 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -1,3 +1,8 @@
+if [[ ${TERM} = "dumb" ]]; then
+ echo "No zsh setup"
+ exit 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 +41,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