Kaynağa Gözat

Add DOTFILES env variable and standardize BASH/ZSH paths

Conflicts:
	bashrc
	config/awesome/theme.lua
	fehbg
	xbindkeysrc
	xinitrc
	zshrc
Andrew Swistak 11 yıl önce
ebeveyn
işleme
c6ffe1b984
2 değiştirilmiş dosya ile 12 ekleme ve 4 silme
  1. 5 2
      bashrc
  2. 7 2
      zshrc

+ 5 - 2
bashrc

@@ -39,6 +39,9 @@ fi
 export EDITOR="mvim"
 alias vim="mvim"
 
-[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
+export DOTFILES=$HOME/Documents/dotfiles
+export PATH=$DOTFILES/bin:$PATH
+export PATH=$PATH:$HOME/.rvm/bin
+
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
 
-export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting

+ 7 - 2
zshrc

@@ -1,4 +1,3 @@
-# Lines configured by zsh-newuser-install
 HISTFILE=~/.histfile
 HISTSIZE=1000
 SAVEHIST=1000
@@ -41,4 +40,10 @@ bindkey '^[[3~' delete-char
 bindkey '^[[5~' beginning-of-buffer-or-history
 bindkey '^[[6~' end-of-buffer-or-history
 
-export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
+export DOTFILES=$HOME/Documents/dotfiles
+export PATH=$DOTFILES/bin:$PATH
+export PATH=$PATH:$HOME/.rvm/bin
+
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
+
+source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh