Mercurial > index.cgi > dotfiles
comparison .bashrc @ 27:a6c93cf45e90
* New changes to tab stuff, see if I like it better
* Removing tabs from dotfiles, replace with spaces
author | huston@80426f53-59d1-405d-934b-f07cd76f4a1a |
---|---|
date | Tue, 22 Dec 2009 20:10:21 +0000 |
parents | f65964738bab |
children | ca6c77fe843b |
comparison
equal
deleted
inserted
replaced
26:e14a0b4fab30 | 27:a6c93cf45e90 |
---|---|
6 # shells. | 6 # shells. |
7 | 7 |
8 | 8 |
9 # Source global definitions | 9 # Source global definitions |
10 if [ -f /etc/bashrc ]; then | 10 if [ -f /etc/bashrc ]; then |
11 . /etc/bashrc | 11 . /etc/bashrc |
12 fi | 12 fi |
13 | 13 |
14 # User specific aliases and functions | 14 # User specific aliases and functions |
15 if [ -f $HOME/.bash_aliases ]; then | 15 if [ -f $HOME/.bash_aliases ]; then |
16 . $HOME/.bash_aliases | 16 . $HOME/.bash_aliases |
111 # Store MIBs in ~/mibs and they'll be added here. Can nest directories | 111 # Store MIBs in ~/mibs and they'll be added here. Can nest directories |
112 # (they'll be searched). | 112 # (they'll be searched). |
113 if [ -d $HOME/mibs ]; then | 113 if [ -d $HOME/mibs ]; then |
114 for D in `find $HOME/mibs -type d` ; do | 114 for D in `find $HOME/mibs -type d` ; do |
115 [[ "$MIBDIRS" =~ "(^\+|:)$D($|:)" ]] || \ | 115 [[ "$MIBDIRS" =~ "(^\+|:)$D($|:)" ]] || \ |
116 export MIBDIRS=${MIBDIRS:+$MIBDIRS:}$D | 116 export MIBDIRS=${MIBDIRS:+$MIBDIRS:}$D |
117 done | 117 done |
118 | 118 |
119 [[ "$MIBDIRS" =~ "^\+" ]] || export MIBDIRS=+$MIBDIRS | 119 [[ "$MIBDIRS" =~ "^\+" ]] || export MIBDIRS=+$MIBDIRS |
120 export MIBS=ALL | 120 export MIBS=ALL |
121 fi | 121 fi |