dotfiles/zsh/zshrc
2017-07-19 21:14:55 +02:00

35 lines
863 B
Bash

# Exports & Completionpath
export DOT=${HOME}/dotfiles
export OWN=${DOT}/zsh
export LIB=${DOT}/lib
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=xterm-256color
# Fix MobaXterm Home/End key with ZSH
bindkey '^[[H' beginning-of-line
bindkey '^[[F' end-of-line
# Settings & Dircolors
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
eval `dircolors ${OWN}/dircolors`
# Install Zulu if needed
if [[ ! -e ${ZUC}/ZULU_INSTALLED ]]; then
source ${DOT}/install_zulu.zsh
touch ${ZUC}/ZULU_INSTALLED
fi
for file in ${OWN}/files.d/*.zsh; do source $file; done # Aliases
source ${ZUL}/core/zulu # Zulu
# Init Zulu
zulu init
source "/usr/share/fzf/completion.zsh"
source "/usr/share/fzf/key-bindings.zsh"