git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
"$(hostname -f)" > /dev/null;then
+ # do not launch from SSH session, conflicts with user logging on locally afterwards
+ if [ -z "$SSH_TTY" ];then
+ "$HOME/bin/ssh-agent-launcher" -q
+ gpg-connect-agent --dirmngr /bye
+ fi
fi
# because on some hosts the login path is fucked, unset in .local
diff --git a/.bash/vars.bash b/.bash/vars.bash
index 088e1e9..773d75d 100644
--- a/.bash/vars.bash
+++ b/.bash/vars.bash
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
# vim:syntax=sh
+# shellcheck disable=SC2034,SC1091
# default Byobu session name
export BSNAME="CHANGEME"
@@ -86,6 +87,6 @@ fi
# SSH environment file
#!/usr/bin/env bash
# vim:syntax=sh
-if echo "${SSHAGH[@]}" | fgrep --word-regexp "$(hostname -f)" > /dev/null;then
+#if echo "${SSHAGH[@]}" | grep -F --word-regexp "$(hostname -f)" > /dev/null;then
export SSHENVFILE="${HOME}/.ssh/sshenv"
-fi
+#fi