diff --git a/conf.d/_tide_init.fish b/conf.d/_tide_init.fish index 50d79d5..e0e9f1a 100644 --- a/conf.d/_tide_init.fish +++ b/conf.d/_tide_init.fish @@ -1,6 +1,6 @@ function _tide_init_install --on-event _tide_init_install set -U _tide_var_list - + # Tiny improvment to shell startup, which makes async faster function _tide_set -a var_name set -U $var_name $argv[2..-1] @@ -14,7 +14,7 @@ function _tide_init_install --on-event _tide_init_install _tide_set _tide_color_light_blue 00AFFF # Each string replace is kind of dirname - _tide_set _tide_root (status current-filename | string replace --regex '/[^/]+$' '' | string replace --regex '/[^/]+$' '') + _tide_set _tide_root (status filename | string replace --regex '/[^/]+$' '' | string replace --regex '/[^/]+$' '') _tide_set VIRTUAL_ENV_DISABLE_PROMPT true