about summary refs log tree commit diff
path: root/Completion/Zsh/Context/_dynamic_directory_name
blob: f449c3b128d89db218b841e972a83a361c060ae2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#autoload

local func
integer ret=1

if [[ -n $functions[zsh_directory_name] || \
  ${+zsh_directory_name_functions} -ne 0 ]] ; then
  [[ -n $functions[zsh_directory_name] ]] && zsh_directory_name c && ret=0
  for func in $zsh_directory_name_functions; do
    $func c && ret=0
  done
  return ret
else
  _message 'dynamic directory name: implemented as zsh_directory_name c'
fi