mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-28 09:19:02 +01:00
befb02e3da
Add helper function to restart an app running on Pow!
11 lines
224 B
Bash
11 lines
224 B
Bash
# 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
|