summaryrefslogtreecommitdiff
path: root/zsh/zscripts/nicegit.zsh
blob: 5aab8e02201c65d60178b03fdb241f6d930a9004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env zsh

alias \
	ga="git add" \
	gpl="git pull" \
	gps="git push" \
	gl="git log" \


function gc() {
	if [[ "$@" != "" ]]; then
		commit="$@"
	else
		echo "Enter commit message:" && read commit
	fi
 	git commit -m "$commit"
}