squirrelpimp
2015-02-13 09:44:09 UTC
---
** [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.
** [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.