1
0
Fork 0

Pow! Restart Helper

Add helper function to restart an app running on Pow!
pull/4/head
Andrew Hodges 14 years ago
parent c6688047f7
commit 513938e5c3

@ -0,0 +1,10 @@
# Thanks to Christopher Sexton
# https://gist.github.com/965032
function kapow {
touch ~/.pow/$1/tmp/restart.txt
if [ $? -eq 0 ]; then
echo "$fg[yellow]Pow restarting $1...$reset_color"
fi
}
compctl -W ~/.pow -/ kapow
Loading…
Cancel
Save