Adding battery command.

This commit is contained in:
Faerbit 2015-06-18 09:15:05 +02:00
parent 5cf468d28a
commit 9b40dff65f

1
zshrc
View File

@ -22,6 +22,7 @@ alias gdfs='git diff --staged'
alias gad='git add'
alias gcm='git commit'
alias resource='source ~/.zshrc'
alias battery='upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep "time to empty"'
if [ -f .zsh_environment ]
then
source ~/.zsh_environment