From 1fb5a934ca9428ca019312c239176040e0b5cd35 Mon Sep 17 00:00:00 2001 From: Zam Kokott Date: Mon, 4 May 2026 10:35:24 +0200 Subject: [PATCH] add chezmoiignore and remove fish config --- .chezmoiignore | 8 ++++ dot_config/fish/config.fish.tmpl | 63 -------------------------------- 2 files changed, 8 insertions(+), 63 deletions(-) create mode 100644 .chezmoiignore delete mode 100644 dot_config/fish/config.fish.tmpl diff --git a/.chezmoiignore b/.chezmoiignore new file mode 100644 index 0000000..b29f061 --- /dev/null +++ b/.chezmoiignore @@ -0,0 +1,8 @@ +README.md +{{- if ne .chezmoi.hostname "gentoo" }} +.wallpaper +.config/dunst +.config/fuzzel +.config/hypr +.config/waybar +{{ end }} diff --git a/dot_config/fish/config.fish.tmpl b/dot_config/fish/config.fish.tmpl deleted file mode 100644 index 941f4af..0000000 --- a/dot_config/fish/config.fish.tmpl +++ /dev/null @@ -1,63 +0,0 @@ -# source /usr/share/cachyos-fish-config/cachyos-config.fish - -function fish_greeting - {{- if eq .chezmoi.hostname "ubuntu" }} - if test -z "$TMUX" - tmux new -As default - end - {{- else }} - fastfetch - {{- end }} -end - -# Add ~/.local/bin to PATH -if test -d ~/.local/bin - if not contains -- ~/.local/bin $PATH - set -p PATH ~/.local/bin - end -end - -# Add depot_tools to PATH -if test -d ~/Applications/depot_tools - if not contains -- ~/Applications/depot_tools $PATH - set -p PATH ~/Applications/depot_tools - end -end - -# Fish command history -function history - builtin history --show-time='%F %T ' -end - -# Copy DIR1 DIR2 -function copy - set count (count $argv | tr -d \n) - if test "$count" = 2; and test -d "$argv[1]" - set from (echo $argv[1] | trim-right /) - set to (echo $argv[2]) - command cp -r $from $to - else - command cp $argv - end -end - -set -U fish_complete_path $fish_complete_path /nix/var/nix/profiles/default/share/fish/vendor_completions.d -set -Ux EDITOR nvim -set -U fish_history_max 1000 - -{{ if eq .chezmoi.hostname "ubuntu" }} - fish_add_path /opt/nvim-linux-x86_64/bin -{{ end }} - -alias vim='nvim' -alias cd='z' -alias ls='eza --icons=always --color=always' -alias untar='tar -zxvf ' -alias grep='grep --color=auto' -alias cleanup='sudo pacman -Rns (pacman -Qtdq)' - -chezmoi completion fish | source -direnv hook fish | source -zoxide init fish | source -starship init fish | source -chezmoi completion fish | source