From 1345f877eb22b98e78b41f6ad6281e754aae86d8 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Thu, 24 Sep 2020 00:34:19 +0200 Subject: [PATCH] updated zsh state --- states/zsh/config.sls | 11 ++++++++++- states/zsh/zprofile.j2 | 3 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/states/zsh/config.sls b/states/zsh/config.sls index be9bef0..64ae4f9 100644 --- a/states/zsh/config.sls +++ b/states/zsh/config.sls @@ -3,6 +3,15 @@ zsh-omz-repo: git.latest: - name: https://github.com/robbyrussell/oh-my-zsh.git - target: /usr/share/oh-my-zsh + - branch: master + - require: + - pkg: zsh-pkg + +zsh-autosuggestions-repo: + git.latest: + - name: https://github.com/zsh-users/zsh-autosuggestions.git + - target: /usr/share/oh-my-zsh/plugins/zsh-autosuggestions + - branch: master - require: - pkg: zsh-pkg @@ -15,4 +24,4 @@ zsh-omz-profile: - mode: 0644 - template: jinja - require: - - pkg: zsh-pkg \ No newline at end of file + - pkg: zsh-pkg diff --git a/states/zsh/zprofile.j2 b/states/zsh/zprofile.j2 index 8f8f076..43f9002 100644 --- a/states/zsh/zprofile.j2 +++ b/states/zsh/zprofile.j2 @@ -19,7 +19,8 @@ export PATH=$PATH:$HOME/.cargo/bin export ZSH=/usr/share/oh-my-zsh ZSH_THEME="jreese" DISABLE_AUTO_UPDATE="true" -plugins=(common-aliases sudo docker salt git) +plugins=(common-aliases sudo docker salt git ansible command-not-found tmux systemd python golang nmap zsh-autosuggestions) +#plugins=(common-aliases sudo docker salt git ansible command-not-found virtualenvwrapper tmux systemd python golang nmap) if [[ -f $ZSH/oh-my-zsh.sh ]] then