From b311d2d82724886f924fc3148c63d43423614cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20M=C3=BCller?= Date: Mon, 8 Sep 2025 19:00:00 +0000 Subject: [PATCH] Add Fish config with abbreviations --- fish/config.fish | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 fish/config.fish 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