Add fish config
This commit is contained in:
parent
c4af1c28aa
commit
f1d4f3fd36
16 changed files with 215 additions and 0 deletions
14
config/fish/functions/fish_right_prompt.fish
Normal file
14
config/fish/functions/fish_right_prompt.fish
Normal file
|
@ -0,0 +1,14 @@
|
|||
function fish_right_prompt
|
||||
set -l code $status
|
||||
set -l jobs (jobs | wc -l)
|
||||
|
||||
if test $jobs -gt 0
|
||||
set_color $fish_color_jobs
|
||||
echo "$jobs "
|
||||
end
|
||||
|
||||
if test $code -gt 0
|
||||
set_color $fish_color_error
|
||||
echo "$code "
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue