ga alias -> function
This commit is contained in:
@@ -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)}"
|
||||
|
||||
Reference in New Issue
Block a user