News for hackers. Stuff that matters.
Re:Unix Tricks by bubblesorting on Thursday July 03, 2014 @03:15PM (#7985055)
For zsh:

  for cmd in $(compgen -c); do if [[ $cmd =~ ^[0-9a-zA-Z]+$ ]]; then eval "alias $cmd\?='man $cmd'"    ; fi; done
# had to escape the ? in the alias name

Cool trick :)

There are no comments on this comment yet.