A combination of vim and bash that I find useful
ghost post
1 file changed, +1 -1
+1-1ghook/startproject.sh
| @@ -3,6 +3,6 @@ | ||
| 3 | 3 | project=$HOME/$1 |
| 4 | 4 | |
| 5 | 5 | git init --bare $project |
| 6 | -cp post-receive $project/hooks/post-receive | |
| 6 | +cp ~/.ghost/post-receive $project/hooks/post-receive | |
| 7 | 7 | sed -i 's/PROJECT_NAME/'$1'/' $project/hooks/post-receive |
| 8 | 8 | chmod +x $project/hooks/post-receive |