diff options
author | Marc Cornellà <marc@mcornella.com> | 2023-10-19 23:24:55 +0200 |
---|---|---|
committer | Marc Cornellà <marc@mcornella.com> | 2023-10-19 23:24:55 +0200 |
commit | 8428442ff0e0114fab32b90443911b11a4b7f5df (patch) | |
tree | 4705f5e4053a6cc96a07e449262a1fa7fbf2bab5 | |
parent | ff6dac56a256e376a10b19a4948ada7df4509c71 (diff) | |
download | zsh-8428442ff0e0114fab32b90443911b11a4b7f5df.tar.gz zsh-8428442ff0e0114fab32b90443911b11a4b7f5df.tar.bz2 zsh-8428442ff0e0114fab32b90443911b11a4b7f5df.zip |
fix(termsupport): add workaround for directory tracking issues in Konsole
Fixes #11683
Related: 50c6786
-rw-r--r-- | lib/termsupport.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index a800e651f..d170ffcbf 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -151,7 +151,7 @@ function omz_termsupport_cwd { URL_PATH="$(omz_urlencode -P $PWD)" || return 1 # Konsole errors if the HOST is provided - [[ -z "$KONSOLE_VERSION" ]] || URL_HOST="" + [[ -z "$KONSOLE_PROFILE_NAME" && -z "$KONSOLE_DBUS_SESSION" ]] || URL_HOST="" # common control sequence (OSC 7) to set current host and path printf "\e]7;file://%s%s\e\\" "${URL_HOST}" "${URL_PATH}" |