Sourcing a Directory

Matthew S-H mathbymath at aol.com
Mon Jun 13 02:28:46 UTC 2005


How do I "source" a directory?

ie:  How might I have a line in my "~/.bash_profile" that  
automatically runs "source ~/.bash_profile_pieces/*" where the "*"  
evaluates to each file in ~/.bash_profile_pieces/"?  I tried running  
it with the star and it only 'sourced' the first file (alphabetically).

Any help would be appreciated.


~Matt




More information about the ubuntu-users mailing list