Consistent indenting for .fish files
This commit is contained in:
parent
ce52fc5aff
commit
d5b9a71d71
18 changed files with 106 additions and 93 deletions
|
@ -1,15 +1,15 @@
|
|||
function fish_right_prompt
|
||||
set -l code $status
|
||||
set -l jobs (jobs | wc -l)
|
||||
set -l prompt
|
||||
set -l code $status
|
||||
set -l jobs (jobs | wc -l)
|
||||
set -l prompt
|
||||
|
||||
test $jobs -gt 0
|
||||
and set -a prompt (set_color $fish_color_jobs)$jobs
|
||||
test $jobs -gt 0
|
||||
and set -a prompt (set_color $fish_color_jobs)$jobs
|
||||
|
||||
test $code -gt 0
|
||||
and set -a prompt (set_color $fish_color_status)$code
|
||||
test $code -gt 0
|
||||
and set -a prompt (set_color $fish_color_status)$code
|
||||
|
||||
echo $prompt
|
||||
echo $prompt
|
||||
|
||||
set_color normal
|
||||
set_color normal
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue