X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=.bashrc;h=ba355b41afc20b1fcb533d414d8f33ea8568c081;hb=8d29de95be2b44cac6e2cc3d0643f542be05e4bd;hp=35db9aca99cdf150e10654f17a13e4f3fc38edb4;hpb=ce4cacd36c5b5babeea85d0f93771017e6169180;p=distro-setup diff --git a/.bashrc b/.bashrc index 35db9ac..ba355b4 100644 --- a/.bashrc +++ b/.bashrc @@ -29,7 +29,8 @@ HISTCONTROL=ignoredups # This works in addition to HISTCONTROL to do more flexible things # it could also do the same things as HISTCONTROL and thus replace it, # but meh. dunno why, but just " *" does glob expansion, so use [ ] to avoid it. -HISTIGNORE='pass *:[ ]*:otp *:oathtool *:histrm *' +HISTIGNORE='pass *:otp *:oathtool *:histrm *' + #### begin section that works with sl() function to return from @@ -50,9 +51,8 @@ else ###### Begin sourcing of files ##### # The distinction between login and non-login shells is super lame - # and pretty random. get rid of that distinction. The var check is - # just a random variable i set there and no where else. - if ! shopt -q login_shell && [[ ! $PITHOSFLY_SAVE_DIR ]]; then + # and pretty random. get rid of that distinction. + if ! shopt -q login_shell; then if [[ -r /etc/profile ]]; then source /etc/profile fi