1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00

sync to copy zsh

This commit is contained in:
eoli3n 2017-12-19 20:21:55 +01:00
parent de3ebb5bee
commit b54e739b68
4 changed files with 18 additions and 6 deletions

1
TODO

@ -6,6 +6,7 @@
- TOFIX: autolaunch i3 apps good order
- TOFIX: zsh termite -> https://github.com/thestinger/termite/issues/550
- TOTEST: oh-my-zsh erase existing .zshrc ?
- TOTEST: ssh-agent ssh-add in zshrc startx
- TOTEST: vim install powerline
- TOTEST: clean dotfiles after run

@ -1 +0,0 @@
Subproject commit a3b22b242d2e4bc8d7e989c47e49a4bf03d7e2ab

@ -1 +0,0 @@
Subproject commit c7d4a85031c101ef9bce0018096622087894dd09

@ -7,6 +7,9 @@
- zsh-syntax-highlighting
become: True
- name: Configure zshrc
copy: src=files/.zshrc dest=~/.zshrc backup=yes
- name: Install oh-my-zsh
shell: creates=~/.oh-my-zsh sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
ignore_errors: True
@ -14,11 +17,21 @@
- debug:
msg: "Do not forget to 'chsh /usr/bin/zsh'"
- name: Configure zsh
synchronize: src=files/ dest=~/
- name: Create zsh dirs
file: path={{item}} state=directory
with_items:
- ~/.zfunctions
- ~/.zsh
- name: Create zfunctions dir
file: path=~/.zfunctions state=directory
- name: Clone zsh-autosuggestions repo
git:
repo: https://github.com/zsh-users/zsh-autosuggestions
dest: ~/.zsh/zsh-autosuggestions
- name: Clone pure repo
git:
repo: https://github.com/sindresorhus/pure
dest: ~/.zsh/pure
- name: Configure Pure Prompt
file: src=~/.zsh/pure/pure.zsh dest=~/.zfunctions/prompt_pure_setup state=link