git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/.bash/exec.bash
blob: ffbeaae62bb873fc29e8be241ffacbc2134e5a66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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[@]}" | fgrep --word-regexp "$(hostname -f)";then
	"$HOME/bin/ssh-agent-launcher" -q
fi

# because on some hosts the login path is fucked, unset in .local
# if it causes irritation:
cd ~ || cd || exit 151
commitgraph'>| * Execute ssh agent only on machines we want to be the sourceH. P. 2022-03-212-1/+7 | | | | Also, see ssh_config(5) and ForwardAgent * distribution mechanism, more targets in makeH. P. 2022-03-213-4/+40 | * Makefile and distribute dir for "git-less" serversH. P. 2022-03-212-0/+10 | * adding distribute folder for servers which cannot reach gitH. P. 2022-03-212-0/+3 | * varname fumbleH. P. 2022-03-211-1/+1 | * +function for adding ssh keysH. P. 2022-03-212-1/+10 | * ...already marked for export in postexecH. P. 2022-03-211-1/+0 | | | | This reverts commit 99e0da1b6441da25a0d3427638f0fd1a20076f87. * mark SSH agent variables for exportH. P. 2022-03-211-0/+1 | * [2]H. P. 2022-03-211-1/+1 | * Adding postexec for "last-mile tasks"H. P. 2022-03-211-0/+4 | * Doesn't workH. P. 2022-03-211-8/+0 | * intermed: squeeze double ; after sourcing sshenvH. P. 2022-03-211-1/+1 | * "typo": wrong folderH. P. 2022-03-191-1/+1 | * +ssh-agent-launcher in bashexec