This repository has been archived on 2024-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
setup/roles/zsh/tasks/main.yml

27 lines
503 B
YAML
Raw Normal View History

2022-12-28 09:28:37 +00:00
- name: Install apt packages
2022-12-02 19:10:38 +00:00
become: true
apt:
2022-12-28 09:28:37 +00:00
pkg:
- zsh
- fzf
- silversearcher-ag
2023-01-07 20:45:43 +00:00
- xclip
2022-12-28 09:28:37 +00:00
- name: Install pygments
pip:
name:
- pygments
- name: Clone oh-my-zsh
git:
repo: https://github.com/ohmyzsh/ohmyzsh.git
depth: 1
dest: ~/.oh-my-zsh
2022-12-02 19:10:38 +00:00
- name: Set default shell to zsh
become: true
user:
name: "{{ ansible_user_id }}"
shell: /usr/bin/zsh
- name: Install .zshrc
copy:
src: "{{ role_path }}/files/.zshrc"
2022-12-02 19:10:38 +00:00
dest: ~/.zshrc