about summary refs log tree commit diff
path: root/Completion/Unix/Type/_path_commands
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Type/_path_commands')
-rw-r--r--Completion/Unix/Type/_path_commands4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Type/_path_commands b/Completion/Unix/Type/_path_commands
index 340a013c3..393c0c67e 100644
--- a/Completion/Unix/Type/_path_commands
+++ b/Completion/Unix/Type/_path_commands
@@ -3,8 +3,8 @@
 (( $+functions[_path_commands_caching_policy] )) ||
 _path_commands_caching_policy() {
 
-local oldp file
-typeset -a dbfiles
+local file
+local -a oldp dbfiles
 
 # rebuild if cache is more than a week old
 oldp=( "$1"(Nmw+1) )