1
0
Fork 0

Don't load pfunctions from vi swap files

pull/715/merge
Paul Melnikow 8 years ago committed by Kaleb Elwert
parent a7729561e8
commit dcd8596192

@ -25,7 +25,7 @@ unset min_zsh_version
function pmodload { function pmodload {
local -a pmodules local -a pmodules
local pmodule local pmodule
local pfunction_glob='^([_.]*|prompt_*_setup|README*)(-.N:t)' local pfunction_glob='^([_.]*|prompt_*_setup|README*|*~)(-.N:t)'
# $argv is overridden in the anonymous function. # $argv is overridden in the anonymous function.
pmodules=("$argv[@]") pmodules=("$argv[@]")

Loading…
Cancel
Save