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

Configure Feed

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

remove starship integration

+34 -91
+34
.config/fish/functions/fish_prompt.fish
··· 1 + function fish_prompt 2 + # status color ------------------------------------------------------------- 3 + set -l last_status $status 4 + set -l status_color green 5 + if test $last_status -ne 0 6 + set status_color red 7 + end 8 + 9 + # jj-vcs module ------------------------------------------------------------ 10 + set -l jj_module 11 + if test -e ".jj" 12 + 13 + # Templates 14 + set -l jj_change_id 'change_id.shortest(6)' 15 + set -l jj_commit_id 'commit_id.shortest(6)' 16 + set -l jj_description 'truncate_end(29, description.first_line(), "โ€ฆ")' 17 + 18 + set -l jj_template \ 19 + ( string join ' ++ " " ++ ' -- \ 20 + $jj_change_id $jj_commit_id $jj_description ) 21 + 22 + set jj_module \ 23 + ( jj log --no-graph --color always --limit 1 -T $jj_template) 24 + 25 + end 26 + 27 + # working directory -------------------------------------------------------- 28 + set -l pwd_module \ 29 + (set_color blue) (prompt_pwd) (set_color normal) 30 + 31 + # prompt 32 + echo -s $pwd_module " " $jj_module 33 + echo -ns (set_color $status_color) "๓ฐ†ง " (set_color normal) 34 + end
-2
.config/fish/modules/integrations.fish
··· 1 1 if status is-interactive 2 2 3 3 command -q direnv; and direnv hook fish | source 4 - command -q jj; and set -g jj_config_file ( jj config path --user ) 5 4 command -q keychain; and eval "$(keychain --quiet --eval github tangled)" 6 5 command -q zoxide; and zoxide init fish | source 7 - command -q starship; and starship init fish | source 8 6 command -q batman; and batman --export-env | source 9 7 command -q fzf; and fzf --fish | source; and set -gx FZF_DEFAULT_OPTS "\ 10 8 --color=bg+:#313244,spinner:#F5E0DC,hl:#F38BA8 \
-89
.config/starship.toml
··· 1 - "$schema" = 'https://starship.rs/config-schema.json' 2 - 3 - palette = "catppuccin_mocha" 4 - add_newline = false 5 - 6 - format = """ 7 - $directory\ 8 - ${custom.jj_bookmarks}\ 9 - ${custom.jj_change}\ 10 - ${custom.jj_icon}\ 11 - ${custom.jj_op}\ 12 - ${custom.jj_description}\ 13 - $line_break\ 14 - $jobs\ 15 - $character 16 - """ 17 - 18 - [character] 19 - success_symbol = "[[๓ฐ†ง](green) โฏ](peach)" 20 - error_symbol = "[[๓ฐ†ง](red) โฏ](peach)" 21 - vimcmd_symbol = "[๓ฐ†ง โฎ](subtext1)" 22 - 23 - [directory] 24 - truncation_length = 4 25 - style = "bold lavender" 26 - 27 - [custom.jj_change] 28 - ignore_timeout = true 29 - description = "The current jj operation" 30 - detect_folders = [".jj"] 31 - command = """ 32 - jj log -r @ --no-graph --color always \ 33 - -T 'change_id.shortest(6)' --ignore-working-copy 34 - """ 35 - 36 - [custom.jj_bookmarks] 37 - ignore_timeout = true 38 - description = "The current jj bookmark" 39 - detect_folders = [".jj"] 40 - command = """ 41 - jj log -r @ --no-graph --color always --limit 1 \ 42 - -T 'bookmarks' --ignore-working-copy 43 - """ 44 - 45 - [custom.jj_op] 46 - ignore_timeout = true 47 - description = "The current jj operation" 48 - detect_folders = [".jj"] 49 - command = """ 50 - jj op log --limit 1 --no-graph --color always --ignore-working-copy \ 51 - -T 'id.short(6)'\ 52 - """ 53 - 54 - [custom.jj_description] 55 - ignore_timeout = true 56 - description = "The current jj operation" 57 - detect_folders = [".jj"] 58 - command = """ 59 - jj log -r @ --no-graph --color never --ignore-working-copy \ 60 - -T 'truncate_end(29, description.first_line(), "โ€ฆ")' 61 - """ 62 - 63 - [palettes.catppuccin_mocha] 64 - rosewater = "#f5e0dc" 65 - flamingo = "#f2cdcd" 66 - pink = "#f5c2e7" 67 - mauve = "#cba6f7" 68 - red = "#f38ba8" 69 - maroon = "#eba0ac" 70 - peach = "#fab387" 71 - yellow = "#f9e2af" 72 - green = "#a6e3a1" 73 - teal = "#94e2d5" 74 - sky = "#89dceb" 75 - sapphire = "#74c7ec" 76 - blue = "#89b4fa" 77 - lavender = "#b4befe" 78 - text = "#cdd6f4" 79 - subtext1 = "#bac2de" 80 - subtext0 = "#a6adc8" 81 - overlay2 = "#9399b2" 82 - overlay1 = "#7f849c" 83 - overlay0 = "#6c7086" 84 - surface2 = "#585b70" 85 - surface1 = "#45475a" 86 - surface0 = "#313244" 87 - base = "#1e1e2e" 88 - mantle = "#181825" 89 - crust = "#11111b"