|
|
|
@ -1,5 +1,7 @@
|
|
|
|
|
{{ ansible_managed | comment }}
|
|
|
|
|
|
|
|
|
|
{% set oh_my_zsh = user.oh_my_zsh|default({}) %}
|
|
|
|
|
|
|
|
|
|
# If you come from bash you might have to change your $PATH.
|
|
|
|
|
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
|
|
|
|
|
|
|
|
@ -10,7 +12,7 @@ export ZSH=$HOME/.oh-my-zsh
|
|
|
|
|
# load a random theme each time oh-my-zsh is loaded, in which case,
|
|
|
|
|
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
|
|
|
|
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
|
|
|
|
ZSH_THEME="{{ user.oh_my_zsh.theme }}"
|
|
|
|
|
ZSH_THEME="{{ oh_my_zsh.theme | default(oh_my_zsh_theme) }}"
|
|
|
|
|
|
|
|
|
|
# Set list of themes to pick from when loading at random
|
|
|
|
|
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
|
|
|
@ -70,7 +72,7 @@ DISABLE_AUTO_UPDATE="true"
|
|
|
|
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
|
|
|
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
|
|
|
|
# Add wisely, as too many plugins slow down shell startup.
|
|
|
|
|
plugins=({{ user.oh_my_zsh.plugins | default('') | join(' ') }})
|
|
|
|
|
plugins=({{ oh_my_zsh.plugins | default(oh_my_zsh_plugins) | join(' ') }})
|
|
|
|
|
|
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
|
|
|
|
@ -98,4 +100,4 @@ source $ZSH/oh-my-zsh.sh
|
|
|
|
|
#
|
|
|
|
|
# Example aliases
|
|
|
|
|
# alias zshconfig="mate ~/.zshrc"
|
|
|
|
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
|
|
|
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|