Created
          February 18, 2013 15:38 
        
      - 
      
- 
        Save trans/4978282 to your computer and use it in GitHub Desktop. 
    Add paths in ./bin to $PATH. Seemed like a neat idea --but not so much.
  
        
  
    
      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 characters
    
  
  
    
  | export ROOTPATH="$PATH" | |
| function cd() { | |
| builtin cd "$@" | |
| for f in ./bin/* | |
| do | |
| export PATH="$f:$ROOTPATH" | |
| done | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment