Hi
I have a shell function that accepts a pane id as argument. This function
works fine when invoked interactively:
$ shell_function $TMUX_PANE
I would like to invoke this function from any pane, running a interactive
shell or not, by binding this function to a key combination, however I
can't figure out how to send the the focused pane id to the function.
On the man page I read that some tmux commands accept a format string that
can expand to information about tmux(including the current pane id) so I
tried this(to no success, it seems run-shell doesn't expand the format
string):
run-shell 'shell_function #{pane_id}'
Any tip on how I may accomplish this?
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users