1
0
Fork 0

fish: some prompt changes

This commit is contained in:
Von Random 2024-03-28 15:40:42 +02:00
parent 4349c4c0db
commit add68f9720
3 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -0,0 +1,4 @@
function prompt.fishes
set fishes \U1f41f \U1f420 \U1f421
printf $fishes[(random 1 (count $fishes))]
end