git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/distrib.yml
diff options
context:
space:
mode:
authormail_redacted_for_web 2025-06-28 12:53:14 +0200
committermail_redacted_for_web 2025-06-28 12:53:14 +0200
commitdb5fe94f2bb744fff0e3b19c9580bbdacce4eacb (patch)
tree19ba83a898097d1a622eb5d183ba670a4a247f8a /distrib.yml
parent05b89ed9e7dd7abdfa65a06f24c4bad6ee107456 (diff)
downloaddotfiles-db5fe94f2bb744fff0e3b19c9580bbdacce4eacb.tar.bz2
define pinentry timeout - short grace period for e.g. signing multiple git commits
Diffstat (limited to 'distrib.yml')
0 files changed, 0 insertions, 0 deletions
#880000; font-weight: bold } /* Name.Entity */ .highlight .nf { color: #00aa00 } /* Name.Function */ .highlight .nn { color: #00aaaa; text-decoration: underline } /* Name.Namespace */ .highlight .nt { color: #1e90ff; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #aa0000 } /* Name.Variable */ .highlight .ow { color: #0000aa } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #009999 } /* Literal.Number.Bin */ .highlight .mf { color: #009999 } /* Literal.Number.Float */ .highlight .mh { color: #009999 } /* Literal.Number.Hex */ .highlight .mi { color: #009999 } /* Literal.Number.Integer */ .highlight .mo { color: #009999 } /* Literal.Number.Oct */ .highlight .sa { color: #aa5500 } /* Literal.String.Affix */ .highlight .sb { color: #aa5500 } /* Literal.String.Backtick */ .highlight .sc { color: #aa5500 } /* Literal.String.Char */ .highlight .dl { color: #aa5500 } /* Literal.String.Delimiter */ .highlight .sd { color: #aa5500 } /* Literal.String.Doc */ .highlight .s2 { color: #aa5500 } /* Literal.String.Double */ .highlight .se { color: #aa5500 } /* Literal.String.Escape */ .highlight .sh { color: #aa5500 } /* Literal.String.Heredoc */ .highlight .si { color: #aa5500 } /* Literal.String.Interpol */ .highlight .sx { color: #aa5500 } /* Literal.String.Other */ .highlight .sr { color: #009999 } /* Literal.String.Regex */ .highlight .s1 { color: #aa5500 } /* Literal.String.Single */ .highlight .ss { color: #0000aa } /* Literal.String.Symbol */ .highlight .bp { color: #00aaaa } /* Name.Builtin.Pseudo */ .highlight .fm { color: #00aa00 } /* Name.Function.Magic */ .highlight .vc { color: #aa0000 } /* Name.Variable.Class */ .highlight .vg { color: #aa0000 } /* Name.Variable.Global */ .highlight .vi { color: #aa0000 } /* Name.Variable.Instance */ .highlight .vm { color: #aa0000 } /* Name.Variable.Magic */ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
#!/usr/bin/env bash
# vim:syntax=sh
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
set bell-style visible

# start ssh agent. this script will not try to run a new instance
# (unless we specified -f, which we don't).
if echo "${SSHAGH[@]}" | grep -F --word-regexp "$(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
		if ! pgrep -au "$(id -u)" dirmngr >/dev/null;then
			gpg-connect-agent --dirmngr /bye 2>/dev/null
			gpg --list-secret-keys >/dev/null 2>&1
		fi
	fi
fi

# because on some hosts the login path is fucked, unset in .local
# if it causes irritation:
cd ~ || cd || return 151