Permalink
Browse files

add lock-screen, updated ga alias to func

  • Loading branch information...
1 parent caaf85f commit aabcce75e2746c3cd77fe11b334c4e552a815b83 @tclem committed Mar 9, 2011
Showing with 8 additions and 1 deletion.
  1. +3 −0 bin/lock-screen
  2. +5 −1 git/aliases.zsh
View
@@ -0,0 +1,3 @@
+#!/bin/sh
+/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession \
+ -suspend
View
@@ -14,7 +14,11 @@ then
fi
# The rest of my fun git aliases
-alias ga='git add .'
+# alias ga='git add .'
+ga() {
+ git add .
+ git add -u
+}
alias gl='git pull --rebase --prune'
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias gp='git push origin HEAD'

0 comments on commit aabcce7

Please sign in to comment.