diff options
author | James Smith <james@loopj.com> | 2011-08-01 00:44:51 -0700 |
---|---|---|
committer | James Smith <james@loopj.com> | 2011-08-01 00:44:51 -0700 |
commit | 0ba398f9e1aaf05e72406d5c840f013eebb6b260 (patch) | |
tree | 66a866657780870fcfb338606ec92b29da82eb4c /plugins/pow | |
parent | a15a8c4a98bc1aff024c3ef44dec48309ff4f90b (diff) | |
parent | a738ca9b645c3cc53bdb01e8676202ceca449ccf (diff) | |
download | zsh-0ba398f9e1aaf05e72406d5c840f013eebb6b260.tar.gz zsh-0ba398f9e1aaf05e72406d5c840f013eebb6b260.tar.bz2 zsh-0ba398f9e1aaf05e72406d5c840f013eebb6b260.zip |
Merge in recent stuff
Diffstat (limited to 'plugins/pow')
-rw-r--r-- | plugins/pow/pow.plugin.zsh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/pow/pow.plugin.zsh b/plugins/pow/pow.plugin.zsh new file mode 100644 index 000000000..6b2a6f2be --- /dev/null +++ b/plugins/pow/pow.plugin.zsh @@ -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 |