Sivert V. Sæther
fc8fc4e9c8
Added home variable for the home folder, defaults to username. Edited neofetch config so it runs faster. Added mukti and ctrl-c.club variables.
26 lines
1.1 KiB
YAML
26 lines
1.1 KiB
YAML
- name: Add .aliases
|
|
copy: src=aliases.sh dest={{ home }}/.aliases owner={{ name }} group={{ group }} mode=0644
|
|
- name: Add .bat.conf
|
|
copy: src=bat.conf dest={{ home }}/.bat.conf owner={{ name }} group={{ group }} mode=0644
|
|
when: "'bat' in packages or 'bat' in extra_packages"
|
|
|
|
- name: Install zsh syntax highlighting (~/.zshrc.d folder)
|
|
when: not zsh_opt_config
|
|
git:
|
|
repo: https://github.com/zsh-users/zsh-syntax-highlighting.git
|
|
dest: "{{ home }}/.zshrc.d/zsh-syntax-highlighting"
|
|
single_branch: yes
|
|
version: master
|
|
- name: Install zsh syntax highlighting (/opt/zsh folder)
|
|
when: zsh_opt_config
|
|
git:
|
|
repo: https://github.com/zsh-users/zsh-syntax-highlighting.git
|
|
dest: /opt/zsh/zsh-syntax-highlighting
|
|
single_branch: yes
|
|
version: master
|
|
become: true
|
|
- name: Add ~/.zshrc.d -> /opt/zsh symbolic link
|
|
when: zsh_opt_config
|
|
file: state=link dest={{ home }}/.zshrc.d src=/opt/zsh owner={{ name }} group={{ group }} mode=0755
|
|
- name: Set owner ship of zsh syntax highlighting files
|
|
file: state=directory recurse=yes dest={{ home }}/.zshrc.d owner={{ name }} group={{ group }} |