- 
      
 - 
        
Save samsonw/1042159 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
drnic revised this gist
Jun 10, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ #!/usr/bin/env bash "$@"  - 
        
drnic revised this gist
Jun 10, 2011 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ # Never fear tutorials again See [Blog post](http://drnicwilliams.com/2011/06/11/never-fear-dollar-in-readmes-again/) Ever see example shell commands like this and wish you could paste them in? ```  - 
        
drnic renamed this gist
Jun 10, 2011 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,3 @@ $ rails new myapp $ cd myapp $ bundle  - 
        
drnic revised this gist
Jun 10, 2011 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ [[ -d $HOME/bin/magic-dollar ]] && export PATH=$PATH":$HOME/bin/magic-dollar"  - 
        
drnic revised this gist
Jun 10, 2011 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ ``` $ rails new myapp $ cd myapp $ bundle ```  - 
        
drnic revised this gist
Jun 10, 2011 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ cd ~ mkdir bin git clone git://gist.github.com/1019041.git ~/bin/magic-dollar chmod +x ~/bin/magic-dollar/$  - 
        
drnic revised this gist
Jun 10, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ git clone git://gist.github.com/1019041.git ~/bin/magic-dollar chmod +x ~/bin/magic-dollar/$ ``` In your `.bash_profile` add the following: ``` [[ -d $HOME/bin/magic-dollar ]] && export PATH=$PATH":$HOME/bin/magic-dollar"  - 
        
drnic revised this gist
Jun 10, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -20,7 +20,7 @@ chmod +x ~/bin/magic-dollar/$ In your `.bash_profile` add the following, if its not already: ``` [[ -d $HOME/bin/magic-dollar ]] && export PATH=$PATH":$HOME/bin/magic-dollar" ``` ## Thanks  - 
        
drnic revised this gist
Jun 10, 2011 . 2 changed files with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ #!/usr/bin/env bash $@ This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -21,4 +21,8 @@ In your `.bash_profile` add the following, if its not already: ``` export PATH=$PATH:$HOME/bin ``` ## Thanks @dwaite for `$@` instead of `$0 $1 ...`  - 
        
drnic revised this gist
Jun 10, 2011 . 1 changed file with 12 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,3 +10,15 @@ $ bundle Fear no more. ``` cd ~ mkdir bin git clone git://gist.github.com/1019041.git ~/bin/magic-dollar chmod +x ~/bin/magic-dollar/$ ``` In your `.bash_profile` add the following, if its not already: ``` export PATH=$PATH:$HOME/bin ```  - 
        
drnic revised this gist
Jun 10, 2011 . 2 changed files with 12 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ # Never fear tutorials again Ever see example shell commands like this and wish you could paste them in? ``` $ rails new myapp $ cd myapp $ bundle ``` Fear no more.  - 
        
drnic created this gist
Jun 10, 2011 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ #!/usr/bin/env bash $1 $2 $3 $4 $5 $6 $7 $8 $9