diff --git a/share/functions/fish_title.fish b/share/functions/fish_title.fish index 675269605..1555a7dc6 100644 --- a/share/functions/fish_title.fish +++ b/share/functions/fish_title.fish @@ -1,6 +1,6 @@ function fish_title - # emacs is basically the only term that can't handle it. - if not set -q INSIDE_EMACS + # emacs' "term" is basically the only term that can't handle it. + if not set -q INSIDE_EMACS; or string match -vq '*,term:*' -- $INSIDE_EMACS echo (status current-command) (__fish_pwd) end end