mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
@@ -268,7 +268,8 @@ function __fish_config_interactive -d "Initializations that should be performed
|
|||||||
|
|
||||||
# Notify terminals when $PWD changes (issue #906).
|
# Notify terminals when $PWD changes (issue #906).
|
||||||
# VTE based terminals, Terminal.app, iTerm.app (TODO), and foot support this.
|
# VTE based terminals, Terminal.app, iTerm.app (TODO), and foot support this.
|
||||||
if test 0"$VTE_VERSION" -ge 3405 -o "$TERM_PROGRAM" = Apple_Terminal -a (string match -r '\d+' 0"$TERM_PROGRAM_VERSION") -ge 309 -o "$TERM" = foot
|
if not set -q FISH_UNIT_TESTS_RUNNING
|
||||||
|
and test 0"$VTE_VERSION" -ge 3405 -o "$TERM_PROGRAM" = Apple_Terminal -a (string match -r '\d+' 0"$TERM_PROGRAM_VERSION") -ge 309 -o "$TERM" = foot
|
||||||
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 || set -q INSIDE_EMACS
|
if status --is-command-substitution || set -q INSIDE_EMACS
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user