"help" for zsh (tummy.com, ltd. Journal Entry)
tummy.com: we do linux

Monday August 25, 2008 at 17:13
Subject: "help" for zsh
Keywords: Technical, zsh
Posted by: Sean Reifschneider

One of the things I really miss about bash is the help for the "test" command (for shell conditionals). There's the test man page, but for some reason I just always want to type "help test" to see what I can use in shell conditionals. I finally decided to fix this and came up with the following line which can be added to ~/.zshrc:

function help { bash -c "help $@" }

(Post Reply)