if status is-interactive fish_add_path ~/.cargo/bin fish_add_path ~/.local/bin if command -q atuin atuin init fish --disable-up-arrow | source atuin gen-completions --shell fish | source end # bat if command -q bat alias cat="bat -pp" end # eza if command -q eza alias ls="eza --icons" alias tree="eza --icons --tree" end alias l="ls -l" alias ll="ls -la" # fd if command -q fdfind alias fd="fdfind" end # fnm if command -q fnm fnm env | source fnm completions --shell fish | source end # hx if command -q hx alias edit="hx" end # kubecolor if command -q kubecolor alias k="kubecolor" alias wk="watch -c kubecolor --force-colors" complete -c kubecolor -w kubectl complete -c k -w kubectl complete -c wk -w kubectl end # mvn if command -q mvn alias mvn11="JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 mvn" alias mvn17="JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 mvn" alias mvn21="JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 mvn" end # rgit if command -q rgit complete -c rgit -w git end # starship if command -q starship starship init fish | source end # zoxide if command -q zoxide zoxide init fish | source alias cd="z" end end