]> git.sev.monster Git - dotfiles.git/blob - etc/zsh/functions/Misc/load-plugins
vimrc: enable modeline explicitly
[dotfiles.git] / etc / zsh / functions / Misc / load-plugins
1 emulate -L zsh
2
3 [[ -n $1 ]] || exit 1
4
5 for 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.045359 seconds and 4 git commands to generate.