diff options
Diffstat (limited to 'zsh/zscripts/nicegit.zsh')
-rw-r--r-- | zsh/zscripts/nicegit.zsh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/zsh/zscripts/nicegit.zsh b/zsh/zscripts/nicegit.zsh new file mode 100644 index 0000000..5aab8e0 --- /dev/null +++ b/zsh/zscripts/nicegit.zsh @@ -0,0 +1,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" +} |