Discussion:
[tmux:tickets] #177 if-shell breaks config file parsing
squirrelpimp
2015-02-13 09:44:09 UTC
Permalink
---

** [tickets:#177] if-shell breaks config file parsing**

**Status:** open
**Created:** Fri Feb 13, 2015 09:44 AM UTC by squirrelpimp
**Last Updated:** Fri Feb 13, 2015 09:44 AM UTC
**Owner:** nobody

Using even a nop-like version of if-shell seems to break parsing of the rest of the config file. Here's a minimal example:

➜ /tmp$ cat tmux.broken
if-shell '/bin/false' '/bin/true'
set -g detach-on-destroy off
➜ /tmp$ tmux -f /tmp/tmux.broken start-server\; show-options -g | grep detach
detach-on-destroy on
➜ /tmp$ cat tmux.works
#if-shell '/bin/false' '/bin/true'
set -g detach-on-destroy off
➜ /tmp$ tmux -f /tmp/tmux.works start-server\; show-options -g | grep detach
detach-on-destroy off
➜ /tmp$



---

Sent from sourceforge.net because tmux-***@lists.sourceforge.net is subscribed to https://sourceforge.net/p/tmux/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Loading...