Fix wordchars, rbenv pathing, and rbenv sourcing
This commit is contained in:
parent
2a0b87e823
commit
6c144ad2c5
1 changed files with 5 additions and 3 deletions
|
|
@ -25,6 +25,8 @@ zstyle ':vcs_info:*' actionformats '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{3}|%F{
|
||||||
zstyle ':vcs_info:*' formats '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]%f '
|
zstyle ':vcs_info:*' formats '%F{5}(%f%s%F{5})%F{3}-%F{5}[%F{2}%b%F{5}]%f '
|
||||||
zstyle ':vcs_info:*' enable git
|
zstyle ':vcs_info:*' enable git
|
||||||
|
|
||||||
|
# Don't have / as wordchar so ^w erases path parts
|
||||||
|
local WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
|
||||||
#bindkey '^L' push-line
|
#bindkey '^L' push-line
|
||||||
bindkey "^I" expand-or-complete-prefix
|
bindkey "^I" expand-or-complete-prefix
|
||||||
#select-word-style bash
|
#select-word-style bash
|
||||||
|
|
@ -50,8 +52,8 @@ paths=(/usr/texbin /cat/bin /cat/games/bin /opt/csw/sbin /opt/csw/bin
|
||||||
/opt/local/bin /usr/local/share/bin /usr/openwin/bin /usr/bin/X11
|
/opt/local/bin /usr/local/share/bin /usr/openwin/bin /usr/bin/X11
|
||||||
~/Library/Haskell/bin /usr/local/bin/X11 /usr/openwin/bin/xview /opt/java/bin
|
~/Library/Haskell/bin /usr/local/bin/X11 /usr/openwin/bin/xview /opt/java/bin
|
||||||
/opt/java5/bin /opt/java/jre/bin /opt/openoffice/program)
|
/opt/java5/bin /opt/java/jre/bin /opt/openoffice/program)
|
||||||
prepaths=(~/.rbenv/shims ~/.cabal/bin ~/Library/Haskell/bin ~/local/bin ~/local/sbin /usr/local/bin /usr/local/sbin
|
prepaths=(/usr/local/bin /usr/local/sbin ~/.rbenv/bin ~/.cabal/bin
|
||||||
~/local/share/bin)
|
~/Library/Haskell/bin ~/local/bin ~/local/sbin ~/local/share/bin)
|
||||||
for dir in $paths ; do
|
for dir in $paths ; do
|
||||||
if [ -d $dir ] ; then
|
if [ -d $dir ] ; then
|
||||||
export PATH=$PATH:$dir
|
export PATH=$PATH:$dir
|
||||||
|
|
@ -438,7 +440,7 @@ ex () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if whence rbenv > /dev/null ; then
|
if [ -d ~/.rbenv ] ; then
|
||||||
eval "$(rbenv init -)"
|
eval "$(rbenv init -)"
|
||||||
fi
|
fi
|
||||||
#[ -f ~/.zsh-fuzzy-match/fuzzy-match.zsh ] && source ~/.zsh-fuzzy-match/fuzzy-match.zsh
|
#[ -f ~/.zsh-fuzzy-match/fuzzy-match.zsh ] && source ~/.zsh-fuzzy-match/fuzzy-match.zsh
|
||||||
Loading…
Add table
Add a link
Reference in a new issue