Feat(dotfile): try antibody

This commit is contained in:
Bertrand Benjamin 2018-11-12 10:08:52 +01:00
parent cdf0f30c4a
commit f5064bbb79
3 changed files with 39 additions and 0 deletions

11
files/zsh_plugins.txt Normal file
View File

@ -0,0 +1,11 @@
git-flow
zsh-users/zsh-syntax-highlighting
zsh-users/zsh-autosuggestions
zsh-users/zsh-history-substring-search
desyncr/auto-ls
command-not-found
git-flow
https://github.com/denysdovhan/spaceship-prompt spaceship

5
files/zshrc Normal file
View File

@ -0,0 +1,5 @@
# Created by newuser for 5.5.1
# source ~/.zshrc.local
source <(antibody init)
antibody bundle < ~/.zsh_plugins.txt
PATH="$PATH:$(ruby -e 'print Gem.user_dir')/bin"

View File

@ -37,8 +37,23 @@
with_items: "{{ me }}"
when: not minimal and not server
- name: Install Antibody
aur:
name: antibody
use: makepkg
skip_installed: true
become: yes
become_user: aur_builder
- name: Copy local zshrc
template:
src: files/zshrc
dest: /home/{{ item.username }}/.zshrc
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"
- name: Copy local zshrc.local
template:
src: files/zshrc.local
dest: /home/{{ item.username }}/.zshrc.local
@ -46,6 +61,14 @@
group: "{{ item.username }}"
with_items: "{{ me }}"
- name: Copy local zsh_plugins.txt
template:
src: files/zsh_plugins.txt
dest: /home/{{ item.username }}/.zsh_plugins.txt
owner: "{{ item.username }}"
group: "{{ item.username }}"
with_items: "{{ me }}"
- name: Copy .vim/
copy:
src: files/vim/