On Fri, May 25, 2012 at 04:22:26PM +0200, Dennis Günnewig wrote:
> 
> Dear mailinglist,
> 
> I tried to use the zsh double star "**" (recursive match) in a tmux  
> command string, but it does not match correctly. The same command +  
> "**" works without tmux. Any idea why this doesn't work? Which shell  
> is used to interpret the command: sh, default-shell, $SHELL? My guess  
> is "sh".

Yes.  It's sh(1).  Look here:

execl(_PATH_BSHELL, "sh", "-c", wp->cmd, (char *) NULL);

So you'll need to use:

zsh -c '...'

-- Thomas Adam

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to