summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zsh/zshfunctions6
1 files changed, 6 insertions, 0 deletions
diff --git a/.zsh/zshfunctions b/.zsh/zshfunctions
index a653ef5..fb24fee 100644
--- a/.zsh/zshfunctions
+++ b/.zsh/zshfunctions
@@ -14,6 +14,12 @@ f()
find . -iname "*$1*"
}
+# zman -- easier browsing of zsh manpage
+# from zsh-users list, enhanced
+zman() {
+ PAGER="less -g -s '+/(?i)^ "$1"'" man zshall
+}
+
# Change to the directory of a specific package
_cdu ()
{