Hacker News new | ask | show | jobs
by jvdh 4232 days ago
I have no idea which shell you used, but this has worked for years in both zsh, and also in bash on FreeBSD.

With zsh you even get tab completion of ports, packages, and other command specific arguments.