From 07db07a96f1c13fc26d508dbdb747e9d412fec84 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 27 Oct 2020 09:44:45 -0400 Subject: Allow cd host:path over ssh Requires AcceptEnv SSH_CD in the remote sshd_config. --- home/.shrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'home') diff --git a/home/.shrc b/home/.shrc index feb679ef..df1c8b26 100644 --- a/home/.shrc +++ b/home/.shrc @@ -20,12 +20,18 @@ type doas >/dev/null 2>&1 && alias sudo=doas cd() { if [ $# -eq 0 ]; then builtin cd + elif [ "${1%%:*}" != "$1" ]; then + ssh -o "SetEnv SSH_CD=${1#*:}" "${1%%:*}" elif [ -e "$1" -a ! -d "$1" ]; then builtin cd "${1%/*}" && $EDITOR "${1##*/}" else builtin cd "$@" fi } +if [ -n "${SSH_CD:-}" ]; then + cd "${SSH_CD}" + unset SSH_CD +fi PS0=$'\n' PS1='\$ ' -- cgit 1.4.1 pe='submit' value='switch'/> libtls for OpenSSL
summary refs log tree commit diff
path: root/include/compat/netdb.h (unfollow)
Commit message (Collapse)Author
2021-05-25Bump version to 3.3.3p1 3.3.3p1June McEnroe
2021-05-25build: Add scripts to EXTRA_DISTJune McEnroe
2021-05-25import: Add missing scripts/wrap-compiler-for-flag-checkJune McEnroe
2021-05-08Import LibreSSL 3.3.3June McEnroe
2021-04-18build: Remove added x509_verify.3 links 3.3.2June McEnroe
2021-04-18tls: Use EC_KEY_set_ex_dataJune McEnroe
2021-04-18Import LibreSSL 3.3.2June McEnroe
2021-03-05Bump version to 3.3.1p1 3.3.1p1June McEnroe
2021-03-05build: Add OpenSSL includes to libcompatJune McEnroe
Some compat sources (getentropy_linux.c for example) require OpenSSL. Reported by Robert Scheck.
2020-12-15Import LibreSSL 3.3.1June McEnroe
2020-11-24Import LibreSSL 3.3.0June McEnroe
2020-10-22Import LibreSSL 3.2.2June McEnroe
2020-09-29Import LibreSSL 3.2.1June McEnroe
2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe
2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe
2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe