mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Use normal fish_title in Terminal.app
This needs to be done only for new enough Terminal.app versions, which we don't have enough time to figure out for 2.5.0. Fixes #3629.
This commit is contained in:
parent
8d32eb62ae
commit
5996962749
1 changed files with 0 additions and 8 deletions
|
@ -230,14 +230,6 @@ function __fish_config_interactive -d "Initializations that should be performed
|
|||
and return
|
||||
printf \e\]7\;file://\%s\%s\a (hostname) (echo -n $PWD | __fish_urlencode)
|
||||
end
|
||||
if test "$TERM_PROGRAM" = "Apple_Terminal"
|
||||
# Suppress duplicative title display on Terminal.app
|
||||
if not functions -q fish_title
|
||||
echo -n \e\]0\;\a # clear existing title
|
||||
function fish_title -d 'no-op terminal title'
|
||||
end
|
||||
end
|
||||
end
|
||||
__update_cwd_osc # Run once because we might have already inherited a PWD from an old tab
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue