+ change starship command prompt sign for non privileged user in separate yadm playbook
This commit is contained in:
@ -4,8 +4,11 @@
|
||||
- name: Clone dotfiles repo
|
||||
shell: yadm clone --bootstrap https://vcs.wpstudio.ru/gitea/dotfiles.git
|
||||
|
||||
# For manual change: sed -i 's/#/\\$/g' ${HOME}/.config/starship.toml
|
||||
- name: 'Change character for non-root user'
|
||||
become: false
|
||||
become_user: root
|
||||
shell: |
|
||||
sed -i 's/#/\\$/g' /home/{{ ansible_user_id }}/.config/starship.toml
|
||||
sed -i 's/#/\\$/g' /home/{{ home_user }}/.config/starship.toml
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
Reference in New Issue
Block a user