>>>>> On Fri, 24 Feb 2012 10:16:53 -0800, Bruce Wolk <[email protected]> said:

BW> Very nice.  Where is the best place to put functions like wh?  .bashrc? 
BW> Or do you keep a separate file that .bashrc loads?

Ha, well then you dive into my full setup...

I have a ~/lib/bash, which is git repository (so you can push and pull
from multiple machines) full of bash files containing functions,
settings, etc.

Then my .bashrc has this in it:

    for file in $HOME/lib/bash/* ; do
        case $file in
            *~)    ;;
            *.bak) ;;
            *)     . $file ;;
        esac
    done

-- 
Wes Hardaker                                     
My Pictures:  http://capturedonearth.com/
My Thoughts:  http://pontifications.hardakers.net/
_______________________________________________
vox-tech mailing list
[email protected]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to