# i use it when for example, io on the remote host is really slow and my
# bashrc is too slow. 3 SECONDS because if the shell is around longer
# than that, I'm probably sourcing the file manually, not as part of
-# shell startup.
+# shell startup._
if [[ ( $SECONDS && $SECONDS -lt 3 ) && $LC_USEBASHRC != t && ( $SSH_CONNECTION || $TERM == linux ) ]]; then
# Here we did not opt-in to running our .bashrc file so we just
# return, but we still setup a function to source it without returning
e sync
elif [[ $remote == *.b8.nz ]]; then
e skip
+ elif [[ $remote != *.* ]] && host $remote | grep -qP '^ *\w+.b8.nz has addr'; then
+ e skip
fi
}
export SL_LOCAL_TEST_CMD=sl-local-test
# fi
###### end setup /i
-##### setup /nocow.
-# a nocow dir that is common to multiple distros installed on the same system
+##### setup /nocow. #####
+##
+# A nocow dir that is common to multiple distros installed on the same system. There is duplicate logic for nocow in /b/fai/fai/config/hooks/partition.DEFAULT
+#
dir=/nocow
if has_btrfs; then
if ! mountpoint $dir; then
bindsym $mod+e $ex "i3-emacs"
# unused
-bindsym $mod+shift+e $ex "sudo i3-misc1"
+bindsym $mod+shift+e $ex "sudo /usr/local/bin/i3-misc1"
bindsym $mod+r $ex "/a/bin/ds/xl"
bindsym $mod+backslash $ex "scrot"