mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 09:27:38 +00: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.
6 lines
232 B
Fish
6 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
|