42 lines
1 KiB
Bash
42 lines
1 KiB
Bash
# Exports & Completionpath
|
|
export DOT=${HOME}/dotfiles
|
|
export OWN=${DOT}/zsh
|
|
export LIB=${DOT}/lib
|
|
export OMZ=${LIB}/ohmyzsh
|
|
export ZSH=${OMZ}
|
|
export ZUL=${DOT}/zulu
|
|
export ZUC=${ZUL}/config/zulu
|
|
export PATH="${HOME}/dotfiles/lib/bin:/opt/android-sdk/build-tools/26.0.0/:${PATH}"
|
|
export EDITOR='nano'
|
|
export TERM=linux
|
|
fpath=(${LIB}/completions/src $fpath)
|
|
|
|
# Settings & Dircolors
|
|
ZSH_THEME="mortalscumbag"
|
|
DISABLE_AUTO_UPDATE="true"
|
|
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
|
|
eval `dircolors ${OWN}/dircolors`
|
|
|
|
# Plugins
|
|
plugins=(git vagrant docker python ansible extract systemd systemadmin tmux command-not-found)
|
|
case $(uname -n) in
|
|
"megumi")
|
|
plugins+=(archlinux)
|
|
;;
|
|
"sayaka")
|
|
plugins+=(archlinux)
|
|
;;
|
|
"git")
|
|
plugins+=(debian)
|
|
;;
|
|
esac
|
|
|
|
# Source the needed Parts
|
|
#source ${ZUL}/core/zulu # Zulu
|
|
source ${OMZ}/oh-my-zsh.sh # Oh My ZSH
|
|
source ${LIB}/highlighting/zsh-syntax-highlighting.zsh # Syntax Highlighting
|
|
source ${HOME}/.fzf.zsh # FZF
|
|
for file in ${OWN}/aliases.d/*.zsh; do source $file; done # Aliases
|
|
|
|
# Init Zulu
|
|
#zulu init
|