about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-01-25 19:14:47 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-01-29 09:14:55 +0000
commit80ddf807f0ded53c63dea37a6e382e70416ad8b7 (patch)
treebe2c6083ca891540e124f220137c26f1b7b0c001
parent1d9c6a746c5c31ce8b0bd0ccd524a843f87c4e3e (diff)
downloadzsh-80ddf807f0ded53c63dea37a6e382e70416ad8b7.tar.gz
zsh-80ddf807f0ded53c63dea37a6e382e70416ad8b7.tar.xz
zsh-80ddf807f0ded53c63dea37a6e382e70416ad8b7.zip
37797: StartupFiles/zshrc += run-help
-rw-r--r--ChangeLog2
-rw-r--r--StartupFiles/zshrc1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0347f5ea7..a6e624132 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2016-01-29  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
+	* 37797: StartupFiles/zshrc: StartupFiles/zshrc += run-help
+
 	* 37752: Test/D04parameter.ztst: More tests for the previous
 	patch.
 
diff --git a/StartupFiles/zshrc b/StartupFiles/zshrc
index 445209ef5..d4e1d03cc 100644
--- a/StartupFiles/zshrc
+++ b/StartupFiles/zshrc
@@ -76,6 +76,7 @@ RPROMPT=' %~'     # prompt for right side of screen
 export MAIL=/var/spool/mail/$USERNAME
 export LESS=-cex3M
 export HELPDIR=/usr/share/zsh/$ZSH_VERSION/help  # directory for run-help function to find docs
+unalias run-help && autoload -Uz run-help
 
 MAILCHECK=300
 HISTSIZE=200