X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=.bashrc;h=a8ee06782c2b9489d02a9e1584fa1787b7d38b3e;hb=9c77c557e60d21caceeef1e78e35b35ed968fca9;hp=d2057c4c65980eff57bcdbc8e6e233440e2312a5;hpb=12cab163424e3a7b0815646d1d4407f9b5839bcb;p=distro-setup diff --git a/.bashrc b/.bashrc index d2057c4..a8ee067 100644 --- a/.bashrc +++ b/.bashrc @@ -32,6 +32,7 @@ HISTCONTROL=ignoredups HISTIGNORE='pass *:[ ]*:otp *:oathtool *:histrm *' + #### begin section that works with sl() function to return from # noninteractive ssh shells, or tty. tty because often i # use it when something is going and io is slow and my bashrc @@ -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 @@ -93,3 +93,10 @@ fi # ensure no bad programs appending to this file will have an affect return 0 + +# kitty puts this here on startup, i need to build with some option to +# avoid it, whatever. + +# BEGIN_KITTY_SHELL_INTEGRATION +if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi +# END_KITTY_SHELL_INTEGRATION