Support zsh as well
This commit is contained in:
parent
c46d214037
commit
5b30c7acc7
@ -11,9 +11,9 @@
|
||||
owner: "{{ ansible_user }}"
|
||||
mode: "0644"
|
||||
|
||||
- name: Ensure tmux is used as default shell
|
||||
- name: Auto-start tmux for interactive shells
|
||||
ansible.builtin.blockinfile:
|
||||
path: /root/.bashrc
|
||||
path: "{{ item }}"
|
||||
block: |
|
||||
case $- in
|
||||
*i*)
|
||||
@ -25,3 +25,6 @@
|
||||
;;
|
||||
esac
|
||||
marker: "# {mark} ANSIBLE TMUX CONFIG"
|
||||
loop:
|
||||
- /root/.bashrc
|
||||
- /root/.zshrc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user