On Fri, 2015-03-27 at 15:11 -0400, Greg Wooledge wrote:
> OK, this is for some personal configuration management.
Well it's rather for some 1000 institute workstations,...
> Not as part of
> a product you're deploying, etc. As such, presumably you are not trying
> to trick yourself into breaking your own logins or shell startups.
... and you never really know what strange thins users "accidentally"
do ;)
> So,
> just check for $BASH_VERSION and you should be all right.
Sure,... I just wanted to as, whether there's maybe a much more obvious
fool-proof solution :)
> Though, if it were me, I'd just simplify everything. Don't use so many
> different shells, don't use such complicated aliases that you have to
> have multiple versions of them....
I personally just use bash (except for sh where it's dash)... but see
above :)
Cheers,
Chris.