diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-12-21 15:49:04 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-12-21 15:49:04 -0500 |
commit | 8695012020d00baaccc5648963b2f74825a44db0 (patch) | |
tree | 966c4dfbc3a072d3c1733feb869912b6f88e3990 | |
parent | 3f1028f0c6207a71fa428de39eb7e3b218685b28 (diff) |
Skip zsh setup with TRAMP
-rw-r--r-- | zsh/.zshrc | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |