dotfiles/roles/user/shell/zsh/tasks/starship.yml
Matej Focko 01225fd44d
chore: rework directory structure
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-08-30 15:42:26 +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