dotfiles/roles/shell/zsh/tasks/starship.yml

18 lines
432 B
YAML
Raw Normal View History

---
- 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