changed ~ to $HOME in zshrc

This commit is contained in:
Nikolas Weger 2015-09-14 13:34:33 +02:00
parent 0004abce5e
commit e41d6a0ecb

View file

@ -1,11 +1,11 @@
# Oh My ZSH Path
export ZSH=~/.dotfiles/lib/ohmyzsh
export ZSH=${HOME}/.dotfiles/lib/ohmyzsh
# Oh My ZSH Theme
ZSH_THEME="pygmalion"
# Path
export PATH="$HOME/.gem/ruby/2.2.0/bin:$HOME/utils:$HOME/bin:$PATH"
export PATH="${HOME}/.gem/ruby/2.2.0/bin:${HOME}/utils:${HOME}/bin:${PATH}"
# Plugins
plugins=(gem bundler composer git pip vagrant docker python extract)
@ -18,6 +18,7 @@ fi
if [ $(uname -n) = "mail" ]; then
plugins+=(debian)
fi
# Color TERM
export TERM=xterm-256color
@ -25,13 +26,13 @@ export TERM=xterm-256color
export EDITOR='nano'
# Load Oh My ZSH
source $ZSH/oh-my-zsh.sh
source ${ZSH}/oh-my-zsh.sh
# Source k.sh
source ~/.dotfiles/lib/k/k.sh
source ${HOME}/.dotfiles/lib/k/k.sh
# Shell Syntax Highlighter
source ~/.dotfiles/lib/highlighting/zsh-syntax-highlighting.zsh
source ${HOME}/.dotfiles/lib/highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
# CD without typing cd
@ -43,16 +44,16 @@ setopt histverify
setopt histignorealldups
setopt extendedhistory
setopt histreduceblanks
export HISTSIZE=1000000 SAVEHIST=1000000 HISTFILE=~/.zhistory
export HISTSIZE=1000000 SAVEHIST=1000000 HISTFILE=${HOME}/.zhistory
# Dircolors
eval `dircolors ~/.dircolors`
eval `dircolors ${HOME}/.dircolors`
# Source Aliases
source ~/.zsh/alias.zsh
source ${HOME}/.zsh/alias.zsh
# Source FZF
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[ -f ${HOME}/.fzf.zsh ] && source ${HOME}/.fzf.zsh
# Completions Path
fpath=(~/.dotfiles/lib/completions/src $fpath)
fpath=(${HOME}/.dotfiles/lib/completions/src $fpath)