diff options
author | Konrad Borowski <glitchmr@myopera.com> | 2013-09-04 22:08:44 +0200 |
---|---|---|
committer | Konrad Borowski <glitchmr@myopera.com> | 2013-09-04 22:08:44 +0200 |
commit | fe10f98038aad5d6289426aadbf72f325d508a04 (patch) | |
tree | b60883f5ca16304c0be513d2587f67e00d6d12f8 /share/functions/__fish_config_interactive.fish | |
parent | 6709d1067d1d24b1648fce3b169e98546b68d4dd (diff) |
Fix VTE version test
Diffstat (limited to 'share/functions/__fish_config_interactive.fish')
-rw-r--r-- | share/functions/__fish_config_interactive.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 458e10d5..260e3525 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -215,7 +215,7 @@ function __fish_config_interactive -d "Initializations that should be performed # Notify vte-based terminals when $PWD changes (issue #906) - if begin set -q VTE_VERSION; and test $VTE_VERSION -ge 3405; end + if test "$VTE_VERSION" -ge 3405 function __update_vte_cwd --on-variable PWD --description 'Notify VTE of change to $PWD' status --is-command-substitution; and return printf '\033]7;file://%s\a' (pwd | __fish_urlencode) |