added some stuff

This commit is contained in:
Nikolas Weger 2017-07-19 17:25:23 +02:00
parent 96146bd50f
commit b190db6546
8 changed files with 475 additions and 35 deletions

View file

@ -1,16 +1,24 @@
# Exports
export ZSH=${HOME}/dotfiles/lib/ohmyzsh
ZSH_THEME="mortalscumbag"
DISABLE_AUTO_UPDATE="true"
export GOPATH=${HOME}/go
export PATH="${GOPATH}/bin:${HOME}/.gem/ruby/2.3.0/bin:${HOME}/dotfiles/lib/util:${HOME}/dotfiles/lib/bin:${HOME}/dotfiles/lib/dasht/bin:${PATH}:/opt/android-sdk/build-tools/26.0.0/"
export DASHT_DOCSETS_DIR=$HOME/.local/share/Zeal/Zeal/docsets
# 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=(gem bundler git vagrant docker python ansible)
plugins+=(systemd systemadmin tmux command-not-found extract)
plugins=(git vagrant docker python ansible extract systemd systemadmin tmux command-not-found)
case $(uname -n) in
"megumi")
plugins+=(archlinux)
@ -21,32 +29,14 @@ case $(uname -n) in
"git")
plugins+=(debian)
;;
"test")
plugins+=(debian)
;;
esac
# OMZ
source ${ZSH}/oh-my-zsh.sh
# 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
# Fix MobaXterm Home/End key with ZSH
bindkey '^[[H' beginning-of-line
bindkey '^[[F' end-of-line
# Syntax Highlighting
source ${HOME}/dotfiles/lib/highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
# Aliases
for file in ${HOME}/dotfiles/zsh/aliases.d/*.zsh; do
source $file
done
# FZF
[ -f ${HOME}/.fzf.zsh ] && source ${HOME}/.fzf.zsh
# Dircolors
eval `dircolors ${HOME}/dotfiles/zsh/dircolors`
# Completions Path
fpath=(${HOME}/dotfiles/lib/completions/src $fpath)
# Init Zulu
#zulu init