mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 12:03:48 +03:00
Minor edits
This commit is contained in:
parent
972346fd7e
commit
8c8e3cb28d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user