# Project-wide zsh aliases for apf-portal. Installed by 80-dotfiles.sh as
# a symlink at ~/.oh-my-zsh/custom/aliases.zsh, so any change here ripples
# to every dev's shell on their next zsh restart.
#
# Per-dev customizations belong elsewhere (private dotfiles repo or
# additional files under ~/.oh-my-zsh/custom/).

# Navigation
alias ls="eza --icons"
alias la="eza -alF --icons"
alias ll="eza -lA --icons"
alias lh="eza -lAh --icons --git"
alias lr="eza -lAhR --icons --git"
alias lt="ls -lAhtr"
alias ltr="eza --tree --icons"
alias l="ls -CF"
alias cdworks="cd ~/Works/apf_portal"

# Files
alias bat="batcat"

# Search
alias find="fd"

# Git
alias gitstat='git status'
alias gitcount='git status | wc -l'
alias gitgb='git log --oneline --graph --decorate'
alias gitgraph='git log --oneline --graph --decorate --branches'
alias gitfullstat='git log --graph --decorate --branches --stat'
alias gitprune='git remote update origin --prune'
alias gitfp='git fetch --all --prune'

# Dev
alias ng="pnpm exec ng"
alias nx="pnpm exec nx"
