]> git.sev.monster Git - dotfiles.git/blame - etc/zsh/functions/Misc/load-plugins
zsh: add basic plugin system, add evil-registers
[dotfiles.git] / etc / zsh / functions / Misc / load-plugins
CommitLineData
d3e867c0 1emulate -L zsh
2
3[[ -n $1 ]] || exit 1
4
5for p (${2:-${ZDOTDIR:-${_sev_home:-~/.zsh}}}/plugins/$1/*(N)) {
6 for f (${p:t}.{plugin.zsh,zsh,sh}) {
7 [[ -f $p$f ]] && source $p$f && break
8 }
9}
This page took 0.031397 seconds and 4 git commands to generate.