dotfiles/roles/shell/zsh/tasks/starship.yml
Matej Focko 0554e665c5
chore: move out user roles
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 21:23:02 +02:00

17 lines
432 B
YAML

---
- name: Fetch the starship installer
ansible.builtin.get_url:
url: https://starship.rs/install.sh
dest: /tmp/starship.sh
mode: 0700
- name: Install starship
ansible.builtin.command:
cmd: sh /tmp/starship.sh -f -b $HOME/.local/bin
creates: ~/.local/bin/starship
- name: Install starship configuration
ansible.builtin.copy:
src: files/starship.toml
dest: ~/.config/starship.toml
mode: 0600