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

Configure Feed

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

no need to use relative paths

Kacaii e11baa0d 423eedf9

+7 -7
+7 -7
fish/config.fish
··· 97 97 function fish_prompt --description "Customize your prompt ๎ช…" 98 98 set -l icon "๏’‰ " 99 99 100 - if test -e "./build.zig" 100 + if test -e "build.zig" 101 101 set icon (set_color yellow) "๎šฉ " (set_color normal) 102 - else if test -e "./gleam.toml" 102 + else if test -e "gleam.toml" 103 103 set icon (set_color magenta) "๏€… " (set_color normal) 104 - else if test -e "./deno.json" 104 + else if test -e "deno.json" 105 105 set icon (set_color green) "๎Ÿ€ " (set_color normal) 106 - else if test -e "./package.json" 106 + else if test -e "package.json" 107 107 set icon (set_color green) "๎ด " (set_color normal) 108 - else if test -e "./pyproject.toml" 108 + else if test -e "pyproject.toml" 109 109 set icon (set_color yellow) "๎˜† " (set_color normal) 110 110 end 111 111 ··· 121 121 return 1 122 122 end 123 123 124 - if test -e "./.jj" 124 + if command -q jj && test -e ".jj" 125 125 set vcs_color blue 126 126 set icon (set_color $vcs_color) "๓ฑ—†" (set_color normal) 127 - else if test -e "./.git" 127 + else if command -q git && test -e ".git" 128 128 set vcs_color red 129 129 set icon (set_color $vcs_color) "๎™" (set_color normal) 130 130 end