abbr -a d 'docker' abbr -a e 'edit' abbr -a h 'history' abbr -a k 'kubectl' abbr -a l 'less' abbr -a m 'minikube' abbr -a n 'nerdctl' abbr -a p 'podman' # Git abbreviations abbr -a g 'git' abbr -a ga 'git add' abbr -a gb 'git branchsort' abbr -a gbd 'git branch -D' abbr -a gc 'git commit' abbr -a gco 'git checkout' abbr -a gcp 'git cherry-pick' abbr -a gd 'git diff' abbr -a gdc 'git diff --cached' abbr -a gdh 'git diff --cached HEAD~' abbr -a gf 'git fetch --prune' abbr -a gl 'git logsearch -10' abbr -a gr 'git restore' abbr -a gs 'git status' abbr -a gst 'git stash' abbr -a gsw 'git switch' set -l major_version (string sub --length 1 $version) if test $major_version -ge 4 abbr -a --command git rbi 'rebase --interactive' abbr -a --command git wipe 'restore --staged --worktree' end