Created
April 7, 2011 22:17
-
-
Save binaryseed/908896 to your computer and use it in GitHub Desktop.
Pow-ize the current directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# zsh function to Pow-ize the current directory, with config files | |
# | |
# http://pow.cx/manual.html | |
power() { | |
[[ -a config.ru ]] || return | |
cd ~/.pow | |
ln -s $OLDPWD | |
cd $OLDPWD | |
echo "rvm --create use default@`basename $PWD`" > .rvmrc | |
echo "\n.powrc" > .gitignore | |
touch .powrc | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment