[vox-tech] Bash completion mystery
Wes Hardaker
wjhns156 at hardakers.net
Fri Mar 9 06:36:59 PST 2012
>>>>> On Fri, 24 Feb 2012 10:16:53 -0800, Bruce Wolk <bawolk at ucdavis.edu> 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/
More information about the vox-tech
mailing list