updated fish config, prompt is now better for use accros systems
This commit is contained in:
parent
21e203bf07
commit
c8bdb844fe
@ -86,13 +86,16 @@ function fish_prompt
|
||||
set -g whitespace ' '
|
||||
|
||||
if test $last_status = 0
|
||||
set initial_indicator "$green◆"
|
||||
set status_indicator "$normal❯$cyan❯$green❯"
|
||||
set initial_indicator "$green*"
|
||||
set status_indicator "$green>"
|
||||
else
|
||||
set initial_indicator "$red✖ $last_status"
|
||||
set status_indicator "$red❯$red❯$red❯"
|
||||
set initial_indicator "$red x $last_status"
|
||||
set status_indicator "$red>"
|
||||
end
|
||||
set -l cwd $cyan(pwd)
|
||||
|
||||
set -l cwd $green(hostname) " > " $cyan(pwd)
|
||||
|
||||
# set -l cwd $cyan(pwd)
|
||||
|
||||
if [ (_git_branch_name) ]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user