it is is the same as sh, ' doesn't have escapes, only " does, so you need "'\""
On Thu, Jul 22, 2010 at 12:08:05PM -0400, Samer Atiani wrote: > Hello, > How do I add both quote and doubleqote characters to word-separators > option in tmux? > Currently I can only choose either quote or doublequote depending on how I > enclose the string, so if I enclose a string in quotes, I can put > doublequotes like below: > set-window-option -g word-separators ' @"=:,.;' > and vice versa. I tried adding the quote character escaped with a > backslash or double backslash like so: > set-window-option -g word-separators ' @"\'=:,.;' > or > set-window-option -g word-separators ' @"\\'=:,.;' > But both don't work. The only way that worked for me was the following: > set-window-option -g word-separators ' @"=:,.;' > set-window-option -ag word-separators "'" > which is kind of a non-obvious way to do it. Is there a way to escape > quotes or represent them differently? > Samer > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users