diff --git a/fish/config.fish b/fish/config.fish new file mode 100644 index 0000000..d6a98cb --- /dev/null +++ b/fish/config.fish @@ -0,0 +1,27 @@ +# 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