Unverified Commit c9bf8b4a authored by Kyle Gerard Felker's avatar Kyle Gerard Felker Committed by GitHub
Browse files

fix(lib): update Emacs terminal detection in `title` function (#9577)

Environment variable EMACS was replaced by INSIDE_EMACS
parent 86f80528
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment