mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-25 13:06:32 +03:00
Fix wizard issues
This commit is contained in:
parent
efeadfbc90
commit
5387f5a3fe
@ -66,6 +66,8 @@ function lean_install
|
|||||||
# ---------------Jobs---------------
|
# ---------------Jobs---------------
|
||||||
set -U lean_jobs_icon '' # Gear
|
set -U lean_jobs_icon '' # Gear
|
||||||
set -U lean_jobs_color 5FAF00
|
set -U lean_jobs_color 5FAF00
|
||||||
|
# ---------------Time---------------
|
||||||
|
set -U lean_time_color 5F8787
|
||||||
|
|
||||||
# -----------------------Finish-----------------------
|
# -----------------------Finish-----------------------
|
||||||
source "$__fish_config_dir/functions/fish_prompt.fish"
|
source "$__fish_config_dir/functions/fish_prompt.fish"
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
printf '%.s ' (seq $columns)
|
printf '%.s ' (seq $columns)
|
||||||
|
|
||||||
set -l cmd_durationOutput ' 5s '
|
set -l rightPrompt ' 5s '(date +$fake_lean_time_format)
|
||||||
set -l cmd_durationStartLocation (math $columns-(string length $cmd_durationOutput))
|
set -l rightPromptStartLocation (math $columns-(string length $rightPrompt))
|
||||||
printf '\r\033['$cmd_durationStartLocation'C'
|
printf '\r\033['$rightPromptStartLocation'C'
|
||||||
set_color $lean_cmd_duration_color
|
set_color $lean_cmd_duration_color
|
||||||
echo -n $cmd_durationOutput
|
echo -n ' 5s '
|
||||||
|
set_color $fish_color_normal
|
||||||
|
set_color $lean_time_color
|
||||||
|
echo -n (date +$fake_lean_time_format)
|
||||||
set_color $fish_color_normal
|
set_color $fish_color_normal
|
||||||
|
|
||||||
echo -ne '\r'
|
echo -ne '\r'
|
||||||
|
@ -2,11 +2,14 @@
|
|||||||
printf "%.s$fake_lean_prompt_connection" (seq $columns)
|
printf "%.s$fake_lean_prompt_connection" (seq $columns)
|
||||||
set_color $fish_color_normal
|
set_color $fish_color_normal
|
||||||
|
|
||||||
set -l cmd_durationOutput ' 5s '
|
set -l rightPrompt ' 5s '(date +$fake_lean_time_format)
|
||||||
set -l cmd_durationStartLocation (math $columns-(string length $cmd_durationOutput))
|
set -l rightPromptStartLocation (math $columns-(string length $rightPrompt))
|
||||||
printf '\r\033['$cmd_durationStartLocation'C'
|
printf '\r\033['$rightPromptStartLocation'C'
|
||||||
set_color $lean_cmd_duration_color
|
set_color $lean_cmd_duration_color
|
||||||
echo -n $cmd_durationOutput
|
echo -n ' 5s '
|
||||||
|
set_color $fish_color_normal
|
||||||
|
set_color $lean_time_color
|
||||||
|
echo -n (date +$fake_lean_time_format)
|
||||||
set_color $fish_color_normal
|
set_color $fish_color_normal
|
||||||
|
|
||||||
echo -ne '\r'
|
echo -ne '\r'
|
||||||
|
Loading…
Reference in New Issue
Block a user