ga alias -> function

This commit is contained in:
2026-04-24 18:35:15 -05:00
parent 2a17c5ecdf
commit 9e56c695f0
+8 -1
View File
@@ -11,11 +11,18 @@ zstyle :compinstall filename '/home/poslop/.zshrc'
autoload -Uz compinit
compinit
alias ga='git add'
alias gc='git commit'
alias gp='git push'
alias gs='git status'
ga() {
if [[ -z "$1" ]]; then
git add -u
else
git add "$1"
fi
}
rerice() {
local flake_dir="/etc/rice-flakes"
host="${1:-$(hostname -s)}"