not in a function; remove local

This commit is contained in:
Matt Hamilton 2015-12-28 01:56:07 -05:00
parent 9c84d1904c
commit b6b3620f34

View File

@ -23,7 +23,7 @@ source ${0:h}/compdefs.zsh
{ {
# zcomple the .zcompdump in the background # zcomple the .zcompdump in the background
local zcompdump=${ZDOTDIR:-${HOME}}/.zcompdump zcompdump=${ZDOTDIR:-${HOME}}/.zcompdump
if [[ -s ${zcompdump} && ( ! -s ${zcompdump}.zwc || ${zcompdump} -nt ${zcompdump}.zwc) ]]; then if [[ -s ${zcompdump} && ( ! -s ${zcompdump}.zwc || ${zcompdump} -nt ${zcompdump}.zwc) ]]; then
zcompile ${zcompdump} zcompile ${zcompdump}