From 22063572a2aa47dcf7838247e2e85d644fe8d39e Mon Sep 17 00:00:00 2001 From: Anthony S Cicchetti Date: Mon, 12 Nov 2018 18:07:17 -0500 Subject: [PATCH] Updated zshrc to export SHELL (???) and added anyenv-update --- playbooks/roles/common/tasks/anyenv.yml | 11 +++++++++++ zsh/zshrc | 2 ++ 2 files changed, 13 insertions(+) diff --git a/playbooks/roles/common/tasks/anyenv.yml b/playbooks/roles/common/tasks/anyenv.yml index 562b0fc..51999dc 100644 --- a/playbooks/roles/common/tasks/anyenv.yml +++ b/playbooks/roles/common/tasks/anyenv.yml @@ -9,6 +9,11 @@ path: ~/.anyenv/envs/ state: directory +- name: Ensure anyenv-plugins directory exists + file: + path: ~/.anyenv/plugins/ + state: directory + - name: Install pyenv shell: ~/.anyenv/bin/anyenv install pyenv args: @@ -19,3 +24,9 @@ shell: ~/.anyenv/bin/anyenv install rbenv args: creates: ~/.anyenv/envs/rbenv + +- name: Install anyenv-update + git: + repo: https://github.com/znz/anyenv-update.git + dest: ~/.anyenv/plugins/anyenv-update + diff --git a/zsh/zshrc b/zsh/zshrc index ccddf1d..9ff84f4 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -45,6 +45,7 @@ antigen bundle git antigen bundle command-not-found antigen bundle zsh-users/zsh-syntax-highlighting antigen bundle thefuck +antigen bundle zsh-users/zsh-completions antigen theme https://github.com/denysdovhan/spaceship-prompt spaceship @@ -73,4 +74,5 @@ else fi export PATH="$HOME/.anyenv/bin:$PATH" +export SHELL="/bin/zsh" eval "$(anyenv init -)"