Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added alias to lock mac

  • Loading branch information...
commit 7e682502ed3a0b6b492f7ef3d3769daa92eb9106 1 parent 5d17824
Michael Sanders authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  .aliases
1  .aliases
@@ -24,6 +24,7 @@ alias hide='chflags hidden' # Hide a file from GUI in OS X.
24 24 alias ip='curl -s "http://whatismyip.org" -w "\n"'
25 25 alias keychain='open -a Keychain\ Access'
26 26 alias lock='sudo chflags uchg' # Lock file from modification in OS X.
  27 +alias lockmac='/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend'
27 28 alias ls='ls -F'
28 29 alias mon='open -a Activity\ Monitor'
29 30 alias mp3='open -a iTunes'

0 comments on commit 7e68250

Please sign in to comment.
Something went wrong with that request. Please try again.