fish: some prompt changes
This commit is contained in:
parent
4349c4c0db
commit
add68f9720
3 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,4 @@
|
|||
# some flair with randomized fish emoji: fish, tropical fish and blowfish
|
||||
set fishes \U1f41f \U1f420 \U1f421
|
||||
|
||||
set bang_symbol \u276f
|
||||
set git_sign \ue0a0
|
||||
set color_git_branch brblack
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function prompt.bang
|
||||
if ! string match -eq linux $TERM
|
||||
prompt.add \n$fishes[(random 1 (count $fishes))]\
|
||||
prompt.add \n$bang_symbol\ black
|
||||
else
|
||||
prompt.add \n\#\ brred
|
||||
end
|
||||
|
|
4
cli/.config/fish/functions/prompt.fishes.fish
Normal file
4
cli/.config/fish/functions/prompt.fishes.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function prompt.fishes
|
||||
set fishes \U1f41f \U1f420 \U1f421
|
||||
printf $fishes[(random 1 (count $fishes))]
|
||||
end
|
Loading…
Reference in a new issue