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

Configure Feed

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

move prompts to config.fish

Kacaii 1eeee6a2 c1de8a22

+34 -22
+29
fish/config.fish
··· 95 95 abbr ta "tmux attach-session" 96 96 97 97 end 98 + 99 + function fish_prompt --description "Customize your prompt ๎ช…" 100 + set -l icon "๓ฐŒฝ " 101 + 102 + if test -e "./build.zig" 103 + set icon (set_color orange) "๎šฉ " (set_color default) 104 + else if test -e "./gleam.toml" 105 + set icon (set_color magenta) "๏€… " (set_color default) 106 + else if test -e "./deno.json" 107 + set icon (set_color green) "๎Ÿ€ " (set_color default) 108 + else if test -e "./package.json" 109 + set icon (set_color green) "๎ด " (set_color default) 110 + else if test -e "./pyproject.toml" 111 + set icon (set_color yellow) "๎˜† " (set_color default) 112 + end 113 + 114 + echo -ns $icon 115 + echo -ns (set_color green) (prompt_pwd) (set_color normal) " ๏ƒš " 116 + end 117 + 118 + function fish_right_prompt 119 + if test -e "./.jj" 120 + set icon (set_color blue) "๓ฑ—†" (set_color normal) 121 + else if test -e "./.git" 122 + set icon (set_color red) "๎™" (set_color red) 123 + end 124 + 125 + echo -ns $icon (fish_git_prompt) 126 + end
-14
fish/functions/fish_prompt.fish
··· 1 - function fish_prompt --description "Customize your prompt ๎ช…" 2 - set -l icon "๓ฐŒฝ " 3 - 4 - if test -e "./.git" 5 - set icon (set_color red) "๎™ " (set_color red) 6 - end 7 - 8 - if test -e "./.jj" 9 - set icon (set_color blue) "๓ฑ—† " (set_color normal) 10 - end 11 - 12 - echo -ns $icon 13 - echo -ns (set_color green) (prompt_pwd) (set_color normal) " ๏ƒš " 14 - end
-3
fish/functions/fish_right_prompt.fish
··· 1 - function fish_right_prompt 2 - echo -n -s (fish_git_prompt) 3 - end
-2
fish/functions/sync_backup_dotfiles.fish
··· 25 25 sync_current_dotfiles.fish \ 26 26 uu.fish \ 27 27 basic_custom_setup.fish \ 28 - fish_prompt.fish \ 29 - fish_right_prompt.fish \ 30 28 y.fish 31 29 32 30 for fn in $custom_fish_functions
-2
fish/functions/sync_current_dotfiles.fish
··· 25 25 sync_current_dotfiles.fish \ 26 26 uu.fish \ 27 27 basic_custom_setup.fish \ 28 - fish_prompt.fish \ 29 - fish_right_prompt.fish \ 30 28 y.fish 31 29 32 30 for fn in $custom_fish_functions
+5 -1
jj/config.toml
··· 4 4 name = "Kacaii" 5 5 email = "kacaii.privado@gmail.com" 6 6 7 + [remotes.origin] 8 + auto-track-bookmarks = "main" 9 + 7 10 [aliases] 8 11 n = ["new"] 9 12 d = ["diff"] ··· 18 21 default-command = "log" 19 22 diff-formatter = ["difft", "--color=always", "$left", "$right"] 20 23 24 + 21 25 [colors] 22 - "commit_id" = { fg = "yellow" } 26 + "commit_id" = { fg = "yellow" } 23 27 "change_id" = { italic = true } 24 28 "timestamp" = "blue" 25 29 "author" = "white"