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

Configure Feed

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

check if jj is instaled before setting up the root

Kacaii eed2c3e5 81b81643

+28 -13
+16 -13
.config/fish/config.fish
··· 1 1 if status is-interactive 2 2 3 + # ๎น Fish config 3 4 set -g fish_greeting "" 4 5 set fish_color_valid_path 5 6 7 + # ๎š‘ Global variables 6 8 set -gx EDITOR nvim 7 9 set -gx XDG_CONFIG_HOME $HOME/.config 8 10 set -gx TERM xterm-256color 9 11 10 - # ๎ปญ Catppuccin FZF 11 - set -gx FZF_DEFAULT_OPTS "\ 12 - --color=bg+:#313244,bg:#1E1E2E,spinner:#F5E0DC,hl:#F38BA8 \ 13 - --color=fg:#CDD6F4,header:#F38BA8,info:#CBA6F7,pointer:#F5E0DC \ 14 - --color=marker:#B4BEFE,fg+:#CDD6F4,prompt:#CBA6F7,hl+:#F38BA8 \ 15 - --color=selected-bg:#45475A \ 16 - --color=border:#6C7086,label:#CDD6F4" 17 - 12 + # ๏…› Config files 18 13 set -g dotfiles $HOME/dotfiles 19 14 set -g tmux_config_file $HOME/.tmux.conf 20 - set -g jj_config_file (jj config path --user) 21 15 22 16 # ๎™ Git Prompt Customization 23 17 set -g __fish_git_prompt_showdirtystate true 24 18 set -g __fish_git_prompt_char_dirtystate "*" 25 19 26 - for script in $__fish_config_dir/shell/* 27 - source $script 20 + # ๎น Load scripts 21 + for fish_sh in $__fish_config_dir/shell/*.fish 22 + source $fish_sh 28 23 end 29 24 30 - fzf --fish | source 31 - zoxide init fish | source 25 + command -q zoxide; and zoxide init fish | source 26 + command -q jj; and set -g jj_config_file ( jj config path --user ) 27 + 28 + # ๓ฐฏ FZF 29 + command -q fzf; and fzf --fish | source; and set -gx FZF_DEFAULT_OPTS "\ 30 + --color=bg+:#313244,bg:#1E1E2E,spinner:#F5E0DC,hl:#F38BA8 \ 31 + --color=fg:#CDD6F4,header:#F38BA8,info:#CBA6F7,pointer:#F5E0DC \ 32 + --color=marker:#B4BEFE,fg+:#CDD6F4,prompt:#CBA6F7,hl+:#F38BA8 \ 33 + --color=selected-bg:#45475A \ 34 + --color=border:#6C7086,label:#CDD6F4" 32 35 33 36 end
+12
.config/fish/functions/y.fish
··· 1 + function y 2 + if not command -q yazi 3 + return 1 4 + end 5 + 6 + set tmp (mktemp -t "yazi-cwd.XXXXXX") 7 + yazi $argv --cwd-file="$tmp" 8 + if read -z cwd <"$tmp"; and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ] 9 + builtin cd -- "$cwd" 10 + end 11 + rm -f -- "$tmp" 12 + end