hmgle / graftcp

A flexible tool for redirecting a given program's TCP traffic to SOCKS5 or HTTP proxy.
GNU General Public License v3.0
2.07k stars 174 forks source link

Autocomplete when using graftcp invokes other programs #28

Open hmgle opened 4 years ago

hmgle commented 4 years ago

For zsh, you can add this to the zshrc file:

compdef _precommand graftcp

More details: https://unix.stackexchange.com/a/178054