Simplify installation process
This commit is contained in:
parent
d6b43a647c
commit
87154e5b4a
2 changed files with 8 additions and 6 deletions
|
@ -9,12 +9,7 @@ To install just clone it to `~/.zsh/functional`
|
||||||
|
|
||||||
and add
|
and add
|
||||||
|
|
||||||
# Load functions
|
. ~/.zsh/functional/load
|
||||||
func_reps=( ~/.zsh/functional/src )
|
|
||||||
for rep in $func_reps; do
|
|
||||||
fpath=($rep $fpath)
|
|
||||||
autoload -U $rep/*(:t)
|
|
||||||
done
|
|
||||||
|
|
||||||
to your `.zshrc`
|
to your `.zshrc`
|
||||||
|
|
||||||
|
|
7
load
Normal file
7
load
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Load functions
|
||||||
|
func_reps=( ~/.zsh/functional/src )
|
||||||
|
for rep in $func_reps; do
|
||||||
|
fpath=($rep $fpath)
|
||||||
|
autoload -U $rep/*(:t)
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in a new issue