paulbsd-salt/states/zsh/zprofile.j2
2020-09-24 00:34:19 +02:00

41 lines
919 B
Django/Jinja

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
# Main environments variables
export EDITOR=vim
export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'
# Golang settings
export GOPATH=~/go
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
# Rust settings
export PATH=$PATH:$HOME/.cargo/bin
# Oh my ZSH settings
export ZSH=/usr/share/oh-my-zsh
ZSH_THEME="jreese"
DISABLE_AUTO_UPDATE="true"
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
source $ZSH/oh-my-zsh.sh
fi
# Acme settings
if [[ -f /root/.acme.sh/acme.sh.env ]]
then
. /root/.acme.sh/acme.sh.env
fi
# Misc settings
bindkey -e
unsetopt share_history