Unverified Commit 03146043 authored by Paul Scott's avatar Paul Scott Committed by GitHub

fix(lib): don't error if `INSIDE_EMACS` is not defined (#10443)

parent 2b96b7c5
...@@ -10,7 +10,7 @@ function title { ...@@ -10,7 +10,7 @@ function title {
setopt localoptions nopromptsubst setopt localoptions nopromptsubst
# Don't set the title if inside emacs, unless using vterm # Don't set the title if inside emacs, unless using vterm
[[ -n "$INSIDE_EMACS" && "$INSIDE_EMACS" != vterm ]] && return [[ -n "${INSIDE_EMACS:-}" && "$INSIDE_EMACS" != vterm ]] && return
# if $2 is unset use $1 as default # if $2 is unset use $1 as default
# if it is set and empty, leave it as is # 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