From 1e27f1f6b0afaf8c722fd8a1bb5e0e7ea0eb54f1 Mon Sep 17 00:00:00 2001 From: Cyd <34154246+cyd01@users.noreply.github.com> Date: Thu, 13 May 2021 15:24:59 +0200 Subject: [PATCH] Update PscpIntegration.md --- docs/pages/PscpIntegration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/pages/PscpIntegration.md b/docs/pages/PscpIntegration.md index 9a55bb1..c10c2a2 100644 --- a/docs/pages/PscpIntegration.md +++ b/docs/pages/PscpIntegration.md @@ -36,6 +36,10 @@ On UNIX system it is possible to start a WinSCP session directly into the curren ```bash winscp() { printf "\033]0;__ws:"`pwd`"\007" ; printf "\033]0;__ti\007" ; } ``` +or if you use TMUX: +``` +winscp() { printf "\033Ptmux;\033\033]0;__ws:"`pwd`"\007\033\\" ; } +``` or this bash function: ```bash winscp() { echo -ne "\033];__ws:${PWD}\007" ; }