diff --git a/playbooks/roles/base/tasks/main.yml b/playbooks/roles/base/tasks/main.yml index e0d2a4d..69efbf7 100644 --- a/playbooks/roles/base/tasks/main.yml +++ b/playbooks/roles/base/tasks/main.yml @@ -41,6 +41,13 @@ dest: ~/.zshrc force: yes +- name: Fix oh-my-zsh sourcing + ansible.builtin.lineinfile: + path: "~/.zshrc" + regexp: "^export ZSH=" + line: 'export ZSH="/home/{{running_user}}/.oh-my-zsh"' + + - name: Verifying shell config folder file: path: ~/.shellconfig