Ansible god!
Big rework! Control stuffs with variables! We still should do some movei'n around of roles before extending features.
This commit is contained in:
15
roles/shell/templates/zshrc.zsh.j2
Normal file
15
roles/shell/templates/zshrc.zsh.j2
Normal file
@@ -0,0 +1,15 @@
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
PROMPT="{{ zsh_prompt }} "
|
||||
setopt autocd extendedglob nomatch notify prompt_subst
|
||||
autoload -Uz compinit && compinit
|
||||
unsetopt beep
|
||||
bindkey -v
|
||||
|
||||
[ -e ~/.zstyles ] && source ~/.zstyles
|
||||
[ -e ~/.env ] && source ~/.env
|
||||
|
||||
for src in `/bin/ls ~/.zshrc.d`; do
|
||||
[ -e $src ] && source $src
|
||||
done
|
||||
source ~/.zshrc.d/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
Reference in New Issue
Block a user