set environment in tmux
This commit is contained in:
parent
05271f5ecb
commit
0582e12bfd
1 changed files with 1 additions and 0 deletions
1
sshs
1
sshs
|
@ -83,6 +83,7 @@ echo "\$bashrctmp \$vimrctmp"
|
||||||
echo "bashrctmp=\${bashrctmp}" > \${bashrctmp}
|
echo "bashrctmp=\${bashrctmp}" > \${bashrctmp}
|
||||||
echo "vimrctmp=\${vimrctmp}" >> \${bashrctmp}
|
echo "vimrctmp=\${vimrctmp}" >> \${bashrctmp}
|
||||||
|
|
||||||
|
tmux set-environment bashrctmp ${bashrctmp}
|
||||||
cat <<- 'eof' >> \$bashrctmp
|
cat <<- 'eof' >> \$bashrctmp
|
||||||
$(cat ${TMPBASHCONFIG})
|
$(cat ${TMPBASHCONFIG})
|
||||||
title "\$USER@\$HOSTNAME: \$PWD"
|
title "\$USER@\$HOSTNAME: \$PWD"
|
||||||
|
|
Loading…
Reference in a new issue