paulbsd-salt/states/tmux/tmux.conf.j2

15 lines
379 B
Plaintext
Raw Permalink Normal View History

2020-07-10 00:58:55 +02:00
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "tmux/map.jinja" import tmux with context %}
{%- for ent in tmux.config.binds %}
{%- for key,value in ent.items() %}
bind {{ key }} {{ value }}
{%- endfor %}
{%- endfor %}
{%- for ent in tmux.config.sets %}
{%- for key,value in ent.items() %}
set -g {{ key }} {{ value }}
{%- endfor %}
{%- endfor %}