From 08846acf1bde0e62334af4fae7c7e316c99cc7f3 Mon Sep 17 00:00:00 2001 From: Donald Ephraim Curtis Date: Thu, 2 Jan 2014 10:29:56 -0800 Subject: [PATCH] Allow function loading to work with symbolic links This changes allows for the loading of function that are symbolic links in the case where the functions are linked to files elsewhere or to work with home management systems like ghar. --- init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.zsh b/init.zsh index fde7bcd3..a30f3c8c 100644 --- a/init.zsh +++ b/init.zsh @@ -25,7 +25,7 @@ unset min_zsh_version function pmodload { local -a pmodules 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. pmodules=("$argv[@]")