Simple shell script to symlink pow sites
Just place this shell script in your path somewhere.
I put mine in ~/bin, which is in my path
#!/usr/bin/env zsh
if [ -z "$1" ]; then
  ln -s $(pwd) ~/.pow/${PWD##*/}
else
  ln -s $(pwd) ~/.pow/$1
fiThen when you need to setup a new site in pow, just type pow my-site or to use the current directory name, just pow.
Written by David Radcliffe
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
 #Shell 
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#

 
 
 
 
