Feat(dotfile): try antibody
This commit is contained in:
parent
cdf0f30c4a
commit
f5064bbb79
11
files/zsh_plugins.txt
Normal file
11
files/zsh_plugins.txt
Normal 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
5
files/zshrc
Normal 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"
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user