Hardcode location of .yadr
Occasionally it is slow on the find command. This code has no reason to be.
This commit is contained in:
parent
9ae8bd285a
commit
69d699d0bc
@ -1,7 +1,7 @@
|
|||||||
# Aliases in this file are bash and zsh compatible
|
# Aliases in this file are bash and zsh compatible
|
||||||
|
|
||||||
# Don't change. The following determines where YADR is installed.
|
# 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
|
# YADR support
|
||||||
alias yav='yadr vim-add-plugin'
|
alias yav='yadr vim-add-plugin'
|
||||||
|
@ -1 +1 @@
|
|||||||
source $yadr/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source $HOME/.yadr/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# ================================
|
# ================================
|
||||||
|
|
||||||
# Don't change. The following determines where YADR is installed.
|
# 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.
|
# Source oh-my-zsh if it is installed.
|
||||||
if [[ -d $HOME/.oh-my-zsh ]]; then
|
if [[ -d $HOME/.oh-my-zsh ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user