diff options
| author | Zam Kokott <zam.kokott@bwi.de> | 2026-04-02 12:39:21 +0000 |
|---|---|---|
| committer | Zam Kokott <zam.kokott@bwi.de> | 2026-04-02 12:39:21 +0000 |
| commit | 14e587afc697c501c5a122c05488d76d03b00a51 (patch) | |
| tree | bb03a3d83ab3474088055bc09963ae85f2500f31 /dot_config/fish/config.fish | |
| parent | 7cb96e5111e709faf8e477d3443d064c47ab5a49 (diff) | |
update to use fish with template
Diffstat (limited to 'dot_config/fish/config.fish')
| -rw-r--r-- | dot_config/fish/config.fish | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/dot_config/fish/config.fish b/dot_config/fish/config.fish deleted file mode 100644 index 6e83a73..0000000 --- a/dot_config/fish/config.fish +++ /dev/null @@ -1,51 +0,0 @@ -# source /usr/share/cachyos-fish-config/cachyos-config.fish - -function fish_greeting - fastfetch -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 - -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)' - -direnv hook fish | source -zoxide init fish | source -starship init fish | source |
