993fa37970
Zsh users can add the following to their .zshrc for sysctl completion: function listsysctls { case $1 in *.*) set -A reply $(sysctl -AN ${1%.*}) ;; *) set -A reply $(sysctl -AN) ;; esac } compctl -K listsysctls sysctl While I'm here, brucify the getopt() switch. |
||
---|---|---|
.. | ||
Makefile | ||
pathconf.c | ||
sysctl.8 | ||
sysctl.c |