# Git
abbr g git
abbr ga 'git add'
abbr gaa 'git add -A'
abbr gb 'git branch'
abbr gbd 'git branch -d'
abbr gbdd 'git branch -D'
abbr gbl 'git blame'
abbr gch 'git checkout'
abbr gchb 'git checkout -b'
abbr gc 'git commit'
abbr gcm 'git commit -m'
abbr gcl 'git clone'
abbr gca 'git commit --amend -m'
abbr gcp 'git cherry-pick'
abbr gd 'git diff'
abbr gdc 'git diff --cached'
abbr gf 'git fetch'
abbr gl 'git log'
abbr glp 'git log --patch'
abbr gls 'git log --stat'
abbr glo 'git log --pretty=oneline'
abbr gm 'git merge'
abbr gp 'git push'
abbr gpf 'git push --force-with-lease'
abbr gpl 'git pull'
abbr gr 'git restore'
abbr grs 'git restore --staged'
abbr grm 'git remote'
abbr grb 'git rebase'
abbr gs 'git status --short'
abbr gss 'git status'
abbr gst 'git stash'

# Ubuntu (apt)
abbr apti 'sudo apt install -y'
abbr aptu 'sudo apt update -y'
abbr aptr 'sudo apt remove -y'
abbr aptf 'sudo apt full-upgrade -y'
abbr aptl 'sudo apt list --upgradable'
abbr di 'sudo dpkg -i'

# Fedora (dnf)
abbr dnfi 'sudo dnf install -y'
abbr dnfr 'sudo dnf remove -y'
abbr dnfu 'sudo dnf update -y'

# Show power consumption, battery health and related statistics
abbr b3 'upower -i /org/freedesktop/UPower/devices/battery_BAT0'

# Reload fish configuration
abbr rf 'source ~/.config/fish/config.fish'

# Sync current history with history file
abbr hm 'history --merge'

# Sync local time
abbr ntp 'sudo ntpdate pool.ntp.org'

# Exa
abbr ll 'eza --long --all --group --git'

# Kitty
abbr kssh 'kitty +kitten ssh'

# Fast fetch
abbr ff fastfetch

# Zellij
abbr zz zellij
