From 9b40dff65f50da28cd68d2dc6b9a7d9744f55362 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Thu, 18 Jun 2015 09:15:05 +0200 Subject: [PATCH] Adding battery command. --- zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zshrc b/zshrc index 4bc42a8..3ab1ae5 100644 --- a/zshrc +++ b/zshrc @@ -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