mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-23 08:46:51 +03:00
Fix bugs/performance improvements
This commit is contained in:
parent
f6262a2e28
commit
7747a257a3
@ -1,8 +1,3 @@
|
||||
if status is-interactive && set -q _tide_version
|
||||
_tide_detect_os
|
||||
_tide_git_prompt_set_vars
|
||||
end
|
||||
|
||||
function _tide_init_install --on-event _tide_init_install
|
||||
_set_immutable _tide_color_dark_blue 0087AF
|
||||
_set_immutable _tide_color_dark_green 5FAF00
|
||||
|
@ -1,3 +1,6 @@
|
||||
_tide_detect_os
|
||||
_tide_git_prompt_set_vars
|
||||
|
||||
function fish_prompt
|
||||
fish --command "
|
||||
set -g _tide_last_pipestatus $pipestatus
|
||||
@ -12,7 +15,7 @@ function fish_prompt
|
||||
set -U _tide_left_prompt_display_$fish_pid (_tide_prompt)" &
|
||||
|
||||
set -g _tide_last_pid (jobs --last --pid)
|
||||
disown
|
||||
disown $_tide_last_pid 2>/dev/null
|
||||
|
||||
set -l displayVarName _tide_left_prompt_display_$fish_pid
|
||||
string unescape $$displayVarName
|
||||
|
Loading…
Reference in New Issue
Block a user