set environment in tmux

This commit is contained in:
Jakobus Schürz 2023-05-30 17:20:38 +02:00
parent 05271f5ecb
commit 0582e12bfd

1
sshs
View file

@ -83,6 +83,7 @@ echo "\$bashrctmp \$vimrctmp"
echo "bashrctmp=\${bashrctmp}" > \${bashrctmp}
echo "vimrctmp=\${vimrctmp}" >> \${bashrctmp}
tmux set-environment bashrctmp ${bashrctmp}
cat <<- 'eof' >> \$bashrctmp
$(cat ${TMPBASHCONFIG})
title "\$USER@\$HOSTNAME: \$PWD"