---
** [tickets:#65] if-shell in tmux.conf makes no sense for first shell inside
tmux**
**Status:** open
**Created:** Wed Sep 25, 2013 07:15 AM UTC by mva
**Last Updated:** Wed Sep 25, 2013 07:15 AM UTC
**Owner:** nobody
Hi there!
I trying to setup conditional default-terminal in my tmux config.
I tried to use
> if-shell '[ "${TERM}" != "linux" ]' 'set-option -g default-terminal
> "screen-256color"' 'set-option -g default-terminal "screen"'
but it only works starting from second created window/pane in tmux.
First shell always have a value of unconditional default-terminal setting, if
it is set, or "screen" if it is not.
Is it possible to fix that somehow?
---
Sent from sourceforge.net because tmux-users@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.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users