pow.plugin.zsh 224 B

12345678910
  1. # Thanks to Christopher Sexton
  2. # https://gist.github.com/965032
  3. function kapow {
  4. touch ~/.pow/$1/tmp/restart.txt
  5. if [ $? -eq 0 ]; then
  6. echo "$fg[yellow]Pow restarting $1...$reset_color"
  7. fi
  8. }
  9. compctl -W ~/.pow -/ kapow