Browse Source

add alias suspend and hibernate

pull/1/head
10sr 12 years ago
parent
commit
b4daba1835
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      bashrc

+ 4
- 0
bashrc View File

@@ -93,6 +93,10 @@ alias pu=pushd
alias sudo="sudo " # use aliases through sudo alias sudo="sudo " # use aliases through sudo
alias halt="sudo halt" alias halt="sudo halt"
alias reboot="sudo reboot" alias reboot="sudo reboot"
alias suspend="dbus-send --system --print-reply --dest=org.freedesktop.UPower \
/org/freedesktop/UPower org.freedesktop.UPower.Suspend"
alias hibernate="dbus-send --system --print-reply --dest=org.freedesktop.UPower \
/org/freedesktop/UPower org.freedesktop.UPower.Hibernate"
alias rand="echo \$RANDOM" alias rand="echo \$RANDOM"
alias ut="ssh 6365454829@un001.ecc.u-tokyo.ac.jp" alias ut="ssh 6365454829@un001.ecc.u-tokyo.ac.jp"
alias xunp="file-roller -h" alias xunp="file-roller -h"


Loading…
Cancel
Save