summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--home/.shrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/.shrc b/home/.shrc
index df1c8b26..2c3b4740 100644
--- a/home/.shrc
+++ b/home/.shrc
@@ -21,7 +21,7 @@ cd() {
 	if [ $# -eq 0 ]; then
 		builtin cd
 	elif [ "${1%%:*}" != "$1" ]; then
-		ssh -o "SetEnv SSH_CD=${1#*:}" "${1%%:*}"
+		SSH_CD=${1#*:} ssh -o SendEnv=SSH_CD "${1%%:*}"
 	elif [ -e "$1" -a ! -d "$1" ]; then
 		builtin cd "${1%/*}" && $EDITOR "${1##*/}"
 	else
2fdda232c62550dd005951e57c27a88c87cabfa7&follow=1'>Add dependencies on gfx.hJune McEnroe 2018-08-18Add Blondie — Heart of GlassJune McEnroe Why didn't I know about this song? I love it. 2018-08-18Set FCEDIT=$EDITORJune McEnroe 2018-08-18Only post commits with bodies to MastodonJune McEnroe 2018-08-18Run tf/cfg link script with /bin/shJune McEnroe 2018-08-18Run {,s,t}up with /bin/shJune McEnroe 2018-08-18Use whence instead of typeJune McEnroe type is an alias for whence -v and is more for human consumption. 2018-08-18Cut off path components until right prompt fitsJune McEnroe Keeps paths valid (from somehwere) rather than abrupt truncation. 2018-08-17Add "private" alias to source encrypted fileJune McEnroe Why is there no easy way to *edit* an encrypted file? 2018-08-17Add vim mapping to add a #includeJune McEnroe