43 lines
960 B
YAML
43 lines
960 B
YAML
---
|
|
|
|
- name: Terminal | Clone powerlevel10k repository
|
|
git:
|
|
repo: "{{ powerlevel10k_git }}"
|
|
dest: "{{ home_directory }}/powerlevel10k"
|
|
depth: 1
|
|
|
|
- name: Terminal | Install zsh
|
|
become: yes
|
|
apt:
|
|
name: zsh
|
|
state: present
|
|
|
|
- name: Terminal | Change shell to zsh
|
|
become: yes
|
|
shell:
|
|
cmd: "chsh -s $(which zsh)"
|
|
|
|
- name: Terminal | Copy powerlevel10k configuration
|
|
copy:
|
|
src: p10k.zsh
|
|
dest: "{{ home_directory }}/.p10k.zsh"
|
|
|
|
- name: Terminal | Copy zshrc configuration
|
|
copy:
|
|
src: zshrc
|
|
dest: "{{ home_directory }}/.zshrc"
|
|
|
|
- name: Terminal | Disable powerlevel10k prompt
|
|
shell:
|
|
cmd: "echo 'POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true' >>! ~/.zshrc"
|
|
|
|
- name: Terminal | Make sure terminal_config_path directory exists
|
|
file:
|
|
path: "{{ terminal_config_path }}"
|
|
state: directory
|
|
|
|
- name: Terminal | Copy terminal config
|
|
copy:
|
|
src: terminalrc
|
|
dest: "{{ terminal_config_path }}/terminalrc"
|