๐Ÿ”’ Backup for my config files
dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

split the prompt in two lines

Kacaii 8102f723 9af0343f

+9 -8
+9 -8
.config/fish/functions/fish_prompt.fish
··· 1 1 function fish_prompt --description "Customize your prompt ๎ช…" 2 - set -l icon "๏ " 2 + set -l icon "๏" 3 3 set -l working_directory (set_color green) (prompt_pwd) (set_color normal) 4 4 5 5 if test ( pwd ) = $HOME/dotfiles 6 - set icon (set_color red) "๎—ป " (set_color normal) 6 + set icon (set_color red) "๎—ป" (set_color normal) 7 7 else if test -e "build.zig" 8 - set icon (set_color yellow) "๎šฉ " (set_color normal) 8 + set icon (set_color yellow) "๎šฉ" (set_color normal) 9 9 else if test -e "deno.json" 10 - set icon (set_color green) "๎Ÿ€ " (set_color normal) 10 + set icon (set_color green) "๎Ÿ€" (set_color normal) 11 11 else if test -e "gleam.toml" 12 - set icon (set_color magenta) "๏€… " (set_color normal) 12 + set icon (set_color magenta) "๏€…" (set_color normal) 13 13 else if test -e "package.json" 14 - set icon (set_color green) "๎ด " (set_color normal) 14 + set icon (set_color green) "๎ด" (set_color normal) 15 15 else if test -e "pyproject.toml" 16 - set icon (set_color yellow) "๎˜† " (set_color normal) 16 + set icon (set_color yellow) "๎˜†" (set_color normal) 17 17 end 18 18 19 - echo -ns $icon $working_directory " ๏„… " 19 + echo -s $icon " " $working_directory 20 + echo -ns "๎ญฐ " 20 21 end