mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +08:00
4660be372a
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.
7 lines
232 B
Fish
7 lines
232 B
Fish
function fish_title
|
|
# 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
|