mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
coexist with emacs inferior mode
This commit is contained in:
parent
33b1c1982e
commit
78e7f65331
1 changed files with 5 additions and 2 deletions
|
|
@ -15,8 +15,11 @@ if [[ "$terminfo[colors]" -ge 8 ]]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# disable zle inside emacs
|
# disable zle and prompt_cr inside emacs, confuses tramp
|
||||||
[[ $TERM = 'dumb' && $EMACS = t ]] && unsetopt zle
|
if [[ $TERM = 'dumb' && $EMACS = t ]]; then
|
||||||
|
unsetopt zle
|
||||||
|
unsetopt prompt_cr
|
||||||
|
fi
|
||||||
|
|
||||||
#setopt no_beep
|
#setopt no_beep
|
||||||
setopt auto_cd
|
setopt auto_cd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue