#!/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)" > /dev/null;then "$HOME/bin/ssh-agent-launcher" -q gpg-connect-agent --dirmngr /bye fi # because on some hosts the login path is fucked, unset in .local # if it causes irritation: cd ~ || cd || exit 151