mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 06:34:01 +08:00
Disable __update_cwd_osx for iTerm.app
Fixes #4521.
(cherry picked from commit 5faa425df1
)
This commit is contained in:
parent
f12164f7c7
commit
fd10c29211
|
@ -262,7 +262,7 @@ function __fish_config_interactive -d "Initializations that should be performed
|
||||||
or set -l VTE_VERSION 0
|
or set -l VTE_VERSION 0
|
||||||
set -q TERM_PROGRAM
|
set -q TERM_PROGRAM
|
||||||
or set -l TERM_PROGRAM
|
or set -l TERM_PROGRAM
|
||||||
if test "$VTE_VERSION" -ge 3405 -o "$TERM_PROGRAM" = "Apple_Terminal" -o "$TERM_PROGRAM" = "iTerm.app"
|
if test "$VTE_VERSION" -ge 3405 -o "$TERM_PROGRAM" = "Apple_Terminal"
|
||||||
function __update_cwd_osc --on-variable PWD --description 'Notify capable terminals when $PWD changes'
|
function __update_cwd_osc --on-variable PWD --description 'Notify capable terminals when $PWD changes'
|
||||||
if status --is-command-substitution
|
if status --is-command-substitution
|
||||||
or set -q INSIDE_EMACS
|
or set -q INSIDE_EMACS
|
||||||
|
|
Loading…
Reference in New Issue
Block a user