dotfiles/fish/config.fish

27 lines
666 B
Fish

# Fish shell config
# Environment
set -x EDITOR nvim
set -x VISUAL nvim
set -x PATH $HOME/.cargo/bin $HOME/.local/bin $PATH
set -x LANG de_DE.UTF-8
set -x TZ Europe/Berlin
# Forgejo CLI — token removed, use `forgejo-cli auth login` instead
# set -x FORGEJO_TOKEN (echo -n "j.mueller:Borussia09!" | base64)
# Abbreviations
abbr -a g git
abbr -a gc 'git commit'
abbr -a gca 'git commit --amend'
abbr -a gp 'git push'
abbr -a gpl 'git pull --rebase'
abbr -a gs 'git status'
abbr -a gd 'git diff'
abbr -a k kubectl
abbr -a kns 'kubectl config set-context --current --namespace'
abbr -a tf terraform
abbr -a dc 'docker compose'
# Prompt
starship init fish | source