X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=.bashrc;h=a8ee06782c2b9489d02a9e1584fa1787b7d38b3e;hb=9c77c557e60d21caceeef1e78e35b35ed968fca9;hp=2c14100e4d24ad4fed882cdfb887a65e4a6079b3;hpb=75e62ecbdabb055ef8d556e2e3aad7117557eb92;p=distro-setup diff --git a/.bashrc b/.bashrc index 2c14100..a8ee067 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 *:k *:ks *:ksu *' +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