fixed zulu

This commit is contained in:
Nikolas Weger 2017-07-19 21:14:55 +02:00
parent 015a530da2
commit 800878e0bc
11 changed files with 8 additions and 86 deletions

View file

@ -2,50 +2,34 @@
export DOT=${HOME}/dotfiles
export OWN=${DOT}/zsh
export LIB=${DOT}/lib
export OMZ=${LIB}/ohmyzsh
export ZSH=${OMZ}
export ZUL=${LIB}/zulu
export ZULU_DIR=${ZUL}
export ZUC=${ZUL}/config
export ZULU_CONFIG_DIR=${ZUC}
export PATH="${HOME}/dotfiles/bin:/opt/android-sdk/build-tools/26.0.0/:${PATH}"
export EDITOR='nano'
export TERM=linux
export TERM=xterm-256color
# Fix MobaXterm Home/End key with ZSH
#bindkey '^[[H' beginning-of-line
#bindkey '^[[F' end-of-line
bindkey '^[[H' beginning-of-line
bindkey '^[[F' end-of-line
# 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 systemd systemadmin tmux)
case $(uname -n) in
"megumi")
plugins+=(archlinux)
;;
"sayaka")
plugins+=(archlinux)
;;
"git")
plugins+=(debian)
;;
esac
# Install Zulu if needed
if [[ ! -e ${ZUC}/ZULU_INSTALLED ]]; then
source ${DOT}/install_zulu.zsh
touch ${ZUC}/ZULU_INSTALLED
fi
# Source the needed Parts
for file in ${OWN}/files.d/*.zsh; do source $file; done # Aliases
source ${ZUL}/core/zulu # Zulu
source ${OMZ}/oh-my-zsh.sh # Oh My ZSH
for file in ${OWN}/aliases.d/*.zsh; do source $file; done # Aliases
# Init Zulu
zulu init
source "/usr/share/fzf/completion.zsh"
source "/usr/share/fzf/key-bindings.zsh"