Skip to content

Commit

Permalink
Add some nice plugins to zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
qhdwight committed Apr 3, 2024
1 parent 57c3a2b commit 4432b62
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/dev/files/home/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ ZSH_THEME="mrover"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git virtualenvwrapper fzf)
plugins=(git virtualenvwrapper fzf zsh-autosuggestions zsh-syntax-highlighting)

source $ZSH/oh-my-zsh.sh

Expand Down
10 changes: 10 additions & 0 deletions ansible/roles/dev/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@
dest: ~/
recursive: true

- name: ZSH Automatic Suggestions Plugin
git:
repo: https://github.com/zsh-users/zsh-autosuggestions
dest: ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions

- name: ZSH Syntax Highlighting Plugin
git:
repo: https://github.com/zsh-users/zsh-syntax-highlighting
dest: ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

- name: Use ZSH as a default shell
become: true
command: chsh --shell /usr/bin/zsh {{ ansible_user_id }}
Expand Down

0 comments on commit 4432b62

Please sign in to comment.