Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add lock-screen, updated ga alias to func

  • Loading branch information...
commit aabcce75e2746c3cd77fe11b334c4e552a815b83 1 parent caaf85f
@tclem authored
Showing with 8 additions and 1 deletion.
  1. +3 −0  bin/lock-screen
  2. +5 −1 git/aliases.zsh
View
3  bin/lock-screen
@@ -0,0 +1,3 @@
+#!/bin/sh
+/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession \
+ -suspend
View
6 git/aliases.zsh
@@ -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'
Please sign in to comment.
Something went wrong with that request. Please try again.