mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 14:23:09 +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
|