diff options
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -1,5 +1,6 @@ if [[ ${INSIDE_EMACS} == *comint* ]]; then - TERM=xterm-256color + TERM=xterm-256color + unsetopt zle fi if [[ ${TERM} = "dumb" ]]; then # This fixes TRAMP. @@ -66,12 +67,14 @@ if (( $+commands[zoxide] )); then fi # Issues when typing 'ssh root@' with fast syntax hilighting. -source ~/.zsh/syntax-highlighting/zsh-syntax-highlighting.zsh -# source ~/.zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh -# if [[ ! -f ~/.zsh/fast-syntax-highlighting/current_theme.zsh ]]; then -# fpath+=$HOME/.zsh/fast-syntax-highlighting -# fast-theme clean -# fi +if [[ -n ${INSIDE_EMACS} ]]; then + source ~/.zsh/syntax-highlighting/zsh-syntax-highlighting.zsh + # source ~/.zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh + # if [[ ! -f ~/.zsh/fast-syntax-highlighting/current_theme.zsh ]]; then + # fpath+=$HOME/.zsh/fast-syntax-highlighting + # fast-theme clean + # fi +fi # allow editing of command line autoload -U edit-command-line |