Support zsh as well

This commit is contained in:
Kuba Orlik 2026-06-13 18:20:40 +02:00
parent c46d214037
commit 5b30c7acc7

View File

@ -11,9 +11,9 @@
owner: "{{ ansible_user }}" owner: "{{ ansible_user }}"
mode: "0644" mode: "0644"
- name: Ensure tmux is used as default shell - name: Auto-start tmux for interactive shells
ansible.builtin.blockinfile: ansible.builtin.blockinfile:
path: /root/.bashrc path: "{{ item }}"
block: | block: |
case $- in case $- in
*i*) *i*)
@ -25,3 +25,6 @@
;; ;;
esac esac
marker: "# {mark} ANSIBLE TMUX CONFIG" marker: "# {mark} ANSIBLE TMUX CONFIG"
loop:
- /root/.bashrc
- /root/.zshrc