From 8695012020d00baaccc5648963b2f74825a44db0 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Tue, 21 Dec 2021 15:49:04 -0500 Subject: Skip zsh setup with TRAMP --- zsh/.zshrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3