if status is-interactive # Disable greeting set -g fish_greeting # Interactive environment variables set -gx EDITOR ~/.cargo/bin/hx # Setup ## Zoxide zoxide init fish | source ## Starship starship init fish | source # Abbreviations ## Replacements abbr -ag rm "trash" ## Safety options abbr -ag cp "cp -i" abbr -ag mv "mv -i" abbr -ag rmr "rm -r" ## Default options set -g rsync "rsync -avhL --partial --info=progress2 --no-i-r --zc=zstd --zl=9" abbr -ag rsync "$rsync" ## Podman abbr -ag sage "podman run --pull newer -it --rm docker.io/sagemath/sagemath:latest" set -l fedora_image registry.fedoraproject.org/fedora:(rpm -E %fedora) abbr -ag fedora "podman run --pull newer -it --rm $fedora_image" abbr -ag pps "podman ps --format '{{.Names}}'" # Aliases alias cd "z" alias ls "lsd" alias ll "ls -l" alias cat "bat" alias gu "gitui" alias zola "flatpak run org.getzola.zola" alias julia "JULIA_NUM_THREADS=16 ~/.juliaup/bin/julia" # Private config set -l private_config ~/.config/fish/private_config.fish if test -f $private_config source $private_config end end