shosei

bash_profile

Feb 23rd, 2012
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.18 KB | None | 0 0
  1. if [ "$OS" = "darwin" ] ; then                                                          
  2.   export PATH=/sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/\
  3. sbin:/usr/local/bin:/sw/bin:/usr/X11/bin:/usr/local/git/bin:/usr/X11R6/bin:$PATH
  4.  
  5. if [ -d ~/bin ]; then                                                                  
  6. export PATH=~/bin:$PATH
  7. fi
  8.  
  9. if [ -d ~/cl/bin ]; then                                                                
  10. export PATH=~/cl/bin:$PATH
  11. fi
  12.          
  13. # Files are read in this order:    
  14. # profile                                                                              
  15. # bashrc                                                                                
  16. # .bash_profile                                                                        
  17. # .bashrc  (sourced in .bash_profile)                    
  18. #                                                                                      
  19. #
  20. # Interactive shells, xwindows                
  21. # Order:                                                                      
  22. # bashrc                                                                                
  23. # .bashrc
Advertisement
Add Comment
Please, Sign In to add comment