From 09af05a45fb0536a699277663444510d90709f4c Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Thu, 15 Dec 2011 23:32:31 -0500 Subject: [PATCH] Adding hibernation commands for OS X --- .zprofile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zprofile b/.zprofile index 15f66fc..ea34276 100644 --- a/.zprofile +++ b/.zprofile @@ -282,6 +282,10 @@ alias auie="xkbcomp -w0 ~/keymaps/xkb/hunner.xkb $DISPLAY" alias aoeu='setxkbmap us' alias bepo='setxkbmap fr bepo "ctrl:swapcaps"' alias notes='vi ~/Dropbox/Notes/vim*' +alias hibernateon='sudo pmset -a hibernatemode 25' +alias hibernateoff='sudo pmset -a hibernatemode 3' +alias hibernate='pmset -g|grep hibernatemode' + if [ -f $HOME/.termcap ] ; then TERMCAP=$(< $HOME/.termcap) export TERMCAP