Hardcode location of .yadr

Occasionally it is slow on the find command. This code has no reason to be.
This commit is contained in:
Yan Pritzker 2012-09-14 12:30:08 -07:00
parent 9ae8bd285a
commit 69d699d0bc
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Aliases in this file are bash and zsh compatible
# Don't change. The following determines where YADR is installed.
yadr=`find -L ~ -type file -maxdepth 2 -name .yadr | head | sed 's:\.yadr\/::'`
yadr=$HOME/.yadr
# YADR support
alias yav='yadr vim-add-plugin'

View File

@ -1 +1 @@
source $yadr/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source $HOME/.yadr/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

View File

@ -7,7 +7,7 @@
# ================================
# Don't change. The following determines where YADR is installed.
yadr=`find -L ~ -type file -maxdepth 2 -name .yadr | head | sed 's:\.yadr\/::'`
yadr=$HOME/.yadr
# Source oh-my-zsh if it is installed.
if [[ -d $HOME/.oh-my-zsh ]]; then