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

Configure Feed

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

remove backup functions

Kacaii de95f265 46a9c142

-76
-38
.config/fish/functions/sync_backup_dotfiles.fish
··· 1 - function sync_backup_dotfiles -d 'Backup your current dotfiles' 2 - 3 - mkdir -p $ghq_dotfiles_root/fish/functions 4 - mkdir -p $ghq_dotfiles_root/jj 5 - mkdir -p $ghq_dotfiles_root/lazygit 6 - mkdir -p $ghq_dotfiles_root/nvim 7 - mkdir -p $ghq_dotfiles_root/presenterm && mkdir -p $ghq_dotfiles_root/presenterm/highlighting 8 - mkdir -p $ghq_dotfiles_root/yazi 9 - 10 - cp -r $__fish_config_dir/config.fish $ghq_dotfiles_root 11 - cp -r $__fish_config_dir/abbr.fish $ghq_dotfiles_root/fish 12 - cp -r $__fish_config_dir/ensure_path.fish $ghq_dotfiles_root/fish 13 - 14 - cp -r $jj_config_file $ghq_dotfiles_root/jj 15 - cp -r $tmux_config_file $ghq_dotfiles_root 16 - cp -r $XDG_CONFIG_HOME/bat $ghq_dotfiles_root 17 - cp -r $XDG_CONFIG_HOME/lazygit/config.yml $ghq_dotfiles_root/lazygit 18 - cp -r $XDG_CONFIG_HOME/nvim/lua/ $ghq_dotfiles_root/nvim 19 - cp -r $XDG_CONFIG_HOME/nvim/snippets/ $ghq_dotfiles_root/nvim 20 - cp -r $XDG_CONFIG_HOME/presenterm/config.yaml $ghq_dotfiles_root/presenterm 21 - cp -r $XDG_CONFIG_HOME/presenterm/themes/highlighting/catppuccin-mocha.tmTheme $ghq_dotfiles_root/presenterm/highlighting 22 - cp -r $XDG_CONFIG_HOME/yazi/theme.toml $ghq_dotfiles_root/yazi 23 - cp -r $HOME/.gitconfig $ghq_dotfiles_root 24 - 25 - set -l custom_fish_functions \ 26 - sync_backup_dotfiles.fish \ 27 - sync_current_dotfiles.fish \ 28 - fish_prompt.fish \ 29 - fish_right_prompt.fish \ 30 - uu.fish \ 31 - basic_custom_setup.fish \ 32 - y.fish 33 - 34 - for fn in $custom_fish_functions 35 - cp -r "$__fish_config_dir/functions/$fn" "$ghq_dotfiles_root/fish/functions" 36 - end 37 - 38 - end
-38
.config/fish/functions/sync_current_dotfiles.fish
··· 1 - function sync_current_dotfiles -d 'Sync your current dotfiles' 2 - 3 - mkdir -p $XDG_CONFIG_HOME/fish/functions 4 - mkdir -p $XDG_CONFIG_HOME/jj 5 - mkdir -p $XDG_CONFIG_HOME/lazygit 6 - mkdir -p $XDG_CONFIG_HOME/nvim 7 - mkdir -p $XDG_CONFIG_HOME/presenterm/highlighting 8 - mkdir -p $XDG_CONFIG_HOME/yazi 9 - 10 - cp -r $ghq_dotfiles_root/fish/config.fish $__fish_config_dir 11 - cp -r $ghq_dotfiles_root/fish/abbr.fish $__fish_config_dir 12 - cp -r $ghq_dotfiles_root/fish/ensure_path.fish $__fish_config_dir 13 - 14 - cp -r $ghq_dotfiles_root/.gitconfig $HOME 15 - cp -r $ghq_dotfiles_root/bat $XDG_CONFIG_HOME/ 16 - cp -r $ghq_dotfiles_root/lazygit/config.yml $XDG_CONFIG_HOME/lazygit 17 - cp -r $ghq_dotfiles_root/nvim/lua $XDG_CONFIG_HOME/nvim 18 - cp -r $ghq_dotfiles_root/nvim/snippets $XDG_CONFIG_HOME/nvim 19 - cp -r $ghq_dotfiles_root/presenterm/config.yaml $XDG_CONFIG_HOME/presenterm 20 - cp -r $ghq_dotfiles_root/presenterm/highlighting/catppuccin-mocha.tmTheme $XDG_CONFIG_HOME/presenterm/themes/highlighting 21 - cp -r $ghq_dotfiles_root/tmux/.tmux.conf $HOME 22 - cp -r $ghq_dotfiles_root/yazi/theme.toml $XDG_CONFIG_HOME/yazi 23 - cp -r $ghq_dotfiles_root/jj/config.toml $jj_config_file 24 - 25 - set -l custom_fish_functions \ 26 - sync_backup_dotfiles.fish \ 27 - sync_current_dotfiles.fish \ 28 - fish_prompt.fish \ 29 - fish_right_prompt.fish \ 30 - uu.fish \ 31 - basic_custom_setup.fish \ 32 - y.fish 33 - 34 - for fn in $custom_fish_functions 35 - cp -r $ghq_dotfiles_root/fish/functions/$fn $__fish_config_dir/functions 36 - end 37 - 38 - end