diff options
author | Kyle Gerard Felker <felker@anl.gov> | 2021-01-07 13:55:18 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 20:55:18 +0100 |
commit | c9bf8b4a84d4ae392cf1bdd6a4a7c7c4f7710b92 (patch) | |
tree | e6dff569ff431fbdc2f61923705d5878351ab323 /lib | |
parent | 86f805280f6a8cf65d8d0a9380489aae4b72f767 (diff) | |
download | zsh-c9bf8b4a84d4ae392cf1bdd6a4a7c7c4f7710b92.tar.gz zsh-c9bf8b4a84d4ae392cf1bdd6a4a7c7c4f7710b92.tar.bz2 zsh-c9bf8b4a84d4ae392cf1bdd6a4a7c7c4f7710b92.zip |
fix(lib): update Emacs terminal detection in `title` function (#9577)
Environment variable EMACS was replaced by INSIDE_EMACS
Diffstat (limited to 'lib')
-rw-r--r-- | lib/termsupport.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index 778f12bca..33451ef1f 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -10,7 +10,7 @@ function title { emulate -L zsh setopt prompt_subst - [[ "$EMACS" == *term* ]] && return + [[ "$INSIDE_EMACS" == *term* ]] && return # if $2 is unset use $1 as default # if it is set and empty, leave it as is |