1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-20 14:21:12 +00:00
prezto/plugins/pow/pow.plugin.zsh

11 lines
224 B
Bash
Raw Normal View History

# 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