I used for years in openSuSE the:
#compdef w
_files -W ~/work -/
function to auto-complete the directory names in my ~/work dir.
It does not work in Ubuntu zsh -v 4.3.11, when I hit TAB
after w
I got directories from my home directory.
What's different in Ubuntu?