Hi,
As $subject said, I want to get TMUX directory in .tmux.conf, since I have the following configuration layout.
$ tree ~/.tmux
/home/japin/.tmux
├── personal.conf
├── README.md
├── scripts
│ └── fzf-session.sh
└── tmux.conf
And I have the following setting in tmux.conf
bind J run-shell "tmux popup -E -w 40% -h %30 #{d:current_file}/scripts/fzf-session.sh"
When I execute C-b J, it complains as following:
'tmux popup -E -w 40% -h %30 /scripts/fzf-session.sh' returned 1
According to the documentation [1], formats are expanded in the run-shell argument.
It seems that #{d:current_file} is empty. How can I fix this? Or is it possible to get the tmux directory?