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