commit e3a0ee01e72e85593b7c3d88f5ff2db2bcf94774
parent 203a72b3d918ca1a0892bda0de4de3c3d006c38c
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 22 Dec 2015 15:28:27 +0100
add torch, improve battery script
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/.zshrc b/.zshrc
@@ -220,3 +220,6 @@ alias jj='osascript ~/.termtile/tile.scpt down'
alias big='osascript ~/.termtile/resize.scpt '
alias cen='osascript ~/.termtile/center.scpt '
alias sha256sum='shasum -a 256'
+
+
+. /Users/ad/torch/install/bin/torch-activate
diff --git a/bin/battery-osx b/bin/battery-osx
@@ -7,4 +7,5 @@ pmset -g batt | tail -n 1 |\
sed 's/ charged//' |\
sed 's/ 0:00//' |\
sed 's/ charging/ ☇/' |\
+ sed 's/ACattached/☇/' |\
sed "s/drawingfrom'AC//"