From fd10c29211dd1bf6780e690975414066f9a1e15c Mon Sep 17 00:00:00 2001 From: David Adam Date: Fri, 22 Dec 2017 22:10:36 +0800 Subject: [PATCH] Disable __update_cwd_osx for iTerm.app Fixes #4521. (cherry picked from commit 5faa425df1afe9bb713634bbdbec1e6650eecaf5) --- share/functions/__fish_config_interactive.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 437605022..b5a623f80 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -262,7 +262,7 @@ function __fish_config_interactive -d "Initializations that should be performed or set -l VTE_VERSION 0 set -q 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' if status --is-command-substitution or set -q INSIDE_EMACS