X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=.bashrc;h=04df859f14367be83d2655d2f12e9aee32c2b820;hb=77917a8fbf2032a8b2634a1b3de0879ec45cf213;hp=840a353a108f82a0ebbb531e962151e23fb2440d;hpb=165008e5b82c81ebff1061c8f8294c3bc6e9dced;p=distro-setup diff --git a/.bashrc b/.bashrc index 840a353..04df859 100644 --- a/.bashrc +++ b/.bashrc @@ -9,6 +9,7 @@ #exec 2>>/a/tmp/bashlog + # History related options first, or else # we risk screwing up history history. And this is duplicated # in ~/.bash_profile just for good measure @@ -35,6 +36,10 @@ HISTIGNORE='pass *:[ ]*:otp *:oathtool *' # see comments in brc2 sl() function for background. if [[ $SSH_CONNECTION ]] \ && [[ $BRC != t ]]; then + brc() { + export BRC=t + source ~/.bashrc + } return 0 else @@ -71,5 +76,7 @@ else fi fi fi + + # ensure no bad programs appending to this file will have an affect return 0