updated zsh settings

This commit is contained in:
Paul 2021-04-07 12:48:50 +02:00
parent 623abc1bad
commit 54df9e1e04
3 changed files with 17 additions and 8 deletions

View File

@ -17,7 +17,7 @@ zsh-autosuggestions-repo:
zsh-omz-profile: zsh-omz-profile:
file.managed: file.managed:
- name: /usr/share/zsh/zprofile - name: /etc/zsh/zprofile
- source: salt://zsh/zprofile.j2 - source: salt://zsh/zprofile.j2
- user: root - user: root
- group: root - group: root

View File

@ -6,24 +6,33 @@ export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'
# Golang settings # Golang settings
export GOPATH=~/go if [[ -d /usr/local/apps/go ]]
export GOROOT=/usr/local/apps/go then
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin export GOPATH=~/go
export GOROOT=/usr/local/apps/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
fi
# Rust settings # Rust settings
export PATH=$PATH:$HOME/.cargo/bin if [[ -d ~/.cargo/bin ]]
then
export PATH=$PATH:$HOME/.cargo/bin
fi
# Android settings # Android settings
export ANDROID_HOME=~/Android if [[ -d ~/Android ]]
then
export ANDROID_HOME=~/Android
fi
# Oh my ZSH settings # Oh my ZSH settings
export ZSH=/usr/share/oh-my-zsh export ZSH=/usr/share/oh-my-zsh
ZSH_THEME="jreese" ZSH_THEME="jreese"
DISABLE_AUTO_UPDATE="true" DISABLE_AUTO_UPDATE="true"
plugins=(common-aliases sudo docker salt git ansible command-not-found systemd python golang nmap zsh-autosuggestions) plugins=(common-aliases sudo docker salt git ansible command-not-found systemd python nmap zsh-autosuggestions)
#for example #for example
#plugins=(common-aliases sudo docker salt git ansible command-not-found virtualenvwrapper tmux systemd python golang nmap) #plugins=(common-aliases sudo docker salt git ansible command-not-found virtualenvwrapper tmux systemd python golang nmap)

View File

@ -1,3 +1,3 @@
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }} ## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
source /usr/share/zsh/zprofile source /etc/zsh/zprofile