fix(emacs): stop tramp from hanging

When editing remote files in emacs via tramp it would just hang when the ssh
connection was made

See: https://www.emacswiki.org/emacs/TrampMode#toc9
This commit is contained in:
Ade Attwood 2020-10-13 20:44:36 +01:00
parent 337f603e45
commit e2adbf5e10

View file

@ -1,4 +1,7 @@
# Path to your oh-my-zsh installation.
#
# Stop emacs tramp from hanging when working remotly
#
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
#
# Set oh-my-zsh path