Add proper PATH

This commit is contained in:
Max Bucknell 2015-05-09 12:35:21 +01:00
parent c251c72130
commit 3a53e41e8a
2 changed files with 33 additions and 5 deletions

View file

@ -39,6 +39,8 @@ hi Constant cterm=NONE ctermfg=7 ctermbg=NONE
hi Define cterm=NONE ctermfg=7 ctermbg=NONE
hi Include cterm=NONE ctermfg=7 ctermbg=NONE
hi Macro cterm=NONE ctermfg=7 ctermbg=NONE
" Residual Less colors
hi lessFunction cterm=NONE ctermfg=7 ctermbg=NONE
hi lessCssAttribute cterm=NONE ctermfg=7 ctermbg=NONE
@ -47,10 +49,10 @@ hi VimSet cterm=NONE ctermfg=7 ctermbg=NONE
hi VimOption cterm=NONE ctermfg=7 ctermbg=NONE
hi VimHiAttrib cterm=NONE ctermfg=7 ctermbg=NONE
" Scalars are cyan
hi String cterm=NONE ctermfg=6 ctermbg=NONE
hi Number cterm=NONE ctermfg=6 ctermbg=NONE
hi Boolean cterm=NONE ctermfg=6 ctermbg=NONE
" Residual Zsh colors
hi ZshDeref cterm=NONE ctermfg=7 ctermbg=NONE
hi ZshShortDeref cterm=NONE ctermfg=7 ctermbg=NONE
hi ZshSubstDelim cterm=NONE ctermfg=7 ctermbg=NONE
" Miscellaneous leftovers
hi helpNote cterm=NONE ctermfg=7 ctermbg=NONE

View file

@ -1,3 +1,29 @@
## Path
# Default path
PATH="/sbin"
PATH="/usr/sbin:$PATH"
PATH="/bin:$PATH"
PATH="/usr/bin:$PATH"
PATH="/usr/local/sbin:$PATH"
PATH="/usr/local/bin:$PATH"
# MacGPG
PATH="/usr/local/MacGPG2/bin:$PATH"
# Ruby
RUBY_VERSION="$(ruby --version | cut -d " " -f 2 | cut -d "p" -f 1)"
PATH="/usr/local/Cellar/ruby/$RUBY_VERSION/bin$PATH"
# LaTeX!
PATH="/usr/texbin:$PATH"
# Local path
PATH="~/.config/bin:$PATH"
# Composer (PHP)
PATH="~/.composer/vendor/bin:$PATH"
## Completion
# Load up the extra Z Shell completions
@ -149,7 +175,7 @@ bindkey -rM vicmd "^["
bindkey -rpM vicmd "^["
# Show if we are in normal mode.
function zle-line-init zle-keymap-select {
function zle-line-init zle-keymap-select () {
if [[ "$KEYMAP" == "vicmd" ]]; then
RESULT="N"
else