Files
ansible-automations/roles/setup/tasks/system/zsh.yml
Noah Knegt 925c9202b4
All checks were successful
continuous-integration/drone/push Build is passing
Use symlinks for config stuff
Signed-off-by: Noah Knegt <git@noahknegt.com>
2023-07-14 12:33:16 +02:00

39 lines
1.0 KiB
YAML

---
- name: Install zsh
become: true
package:
name: zsh
state: present
- name: Install oh-my-zsh
become: true
become_user: noahk
shell: sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- name: Install zsh-syntax-highlighting
become: true
become_user: noahk
git:
repo: https://github.com/zsh-users/zsh-syntax-highlighting.git
dest: /home/noahk/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
update: true
- name: Install zsh-autosuggestions
become: true
become_user: noahk
git:
repo: https://github.com/zsh-users/zsh-autosuggestions.git
dest: /home/noahk/.oh-my-zsh/custom/plugins/zsh-autosuggestions
update: true
- name: Install starship
become: true
become_user: noahk
shell: sh -c "$(curl -fsSL https://starship.rs/install.sh)"
- name: Config zsh
file:
src: /home/noahk/.config/zsh/.zshrc
dst: /home/noahk/.zshrc
state: link
- name: Install nushell
become: true
package:
name: nushell
state: present