Remove useless config subdirectory
This commit is contained in:
parent
ed4a20897f
commit
26811f58ef
29 changed files with 3 additions and 3 deletions
15
fish/functions/fish_right_prompt.fish
Normal file
15
fish/functions/fish_right_prompt.fish
Normal file
|
@ -0,0 +1,15 @@
|
|||
function fish_right_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 $code -gt 0
|
||||
and set -a prompt (set_color $fish_color_status)$code
|
||||
|
||||
echo $prompt
|
||||
|
||||
set_color normal
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue