Marc Haber in de.comp.os.unix.misc:
>Marcel Logen <
33320000...@ybtra.de> wrote:
>>Marc Haber in de.comp.os.unix.misc:
>>>ich habe hier diese tmux.conf:
>>>
>>>set -g base-index 1
>>>set -g renumber-windows on
>>>set -g history-limit 64000
>>>
>>># session mutt without status line
>>>%if "#{==:#{session_name},mutt}"
>>
>>Ich habe jetzt viel herumprobiert, und mir scheint, daß
>>"#{session_name}" hier nicht ausgewertet wird.
>
>Ist das ein Bug?
Vermutlich nicht.
| [...] tmux loads configuration files once when the server process
| has started. The source-file command may be used to load a file later.
Ich habe nun folgende Dateien hier:
| t20$ cat ~/.tmux.conf
| %if "#{==:#{session_group},mutt}"
| set-option status off
| %endif
| t20$ cat ~/.tmux2.conf
| %if "#{==:#{session_group},mutt}"
| set-option status off
| %endif
| t20$
Wenn ich tmux mit
t20$ tmux new-session -t mutt
starte, ist die Statuszeile noch da. Wenn ich dann ein
Ctrl-B :source-file ~/.tmux2.conf
absetze, verschwindet sie. Also wird dann das %if mit der
Variablen #{session_group} abgearbeitet.
Hilft Dir natürlich immer noch nicht. ;-)
Marcel or1e (814126)
--
╭────╮ ╭─╮ ╭──────╮ ╭─╮ ╭──────╮
╰──╮ │ ╭───╮ │ ╰─╮ ╰───╮ ╰───╯ │ ╭─╮ ╭─╮ ╭──╯ ╰─────╮
────╯ │ ╰─╮ ╰─╯ │ ╭─╮ ╰──╮ │ │ │ ╭──╯ │ ╰─╮ ╭──╯ ╭─╮
╰────╯ ╰─╯ ╰─────╯ ╰──╯ ╰─╯ ╰────╯ 126e43 ╰────╯ ╰─