mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 01:04:10 +08:00
Only disable title in emacs "term"
There's more than one emacs terminal (for some reason), and term is the most broken one and can't even handle a title. Fixes #7122.
This commit is contained in:
parent
00f7cdae62
commit
4660be372a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user