diff options
Diffstat (limited to '.oh-my-zsh/plugins/man/man.plugin.zsh')
-rw-r--r-- | .oh-my-zsh/plugins/man/man.plugin.zsh | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/.oh-my-zsh/plugins/man/man.plugin.zsh b/.oh-my-zsh/plugins/man/man.plugin.zsh deleted file mode 100644 index 94aa491..0000000 --- a/.oh-my-zsh/plugins/man/man.plugin.zsh +++ /dev/null @@ -1,27 +0,0 @@ -# ------------------------------------------------------------------------------ -# Author -# ------ -# -# * Jerry Ling<jerryling315@gmail.com> -# -# ------------------------------------------------------------------------------ -# Usage -# ----- -# -# man will be inserted before the command -# -# ------------------------------------------------------------------------------ - -man-command-line() { - [[ -z $BUFFER ]] && zle up-history - [[ $BUFFER != man\ * ]] && LBUFFER="man $LBUFFER" -} -zle -N man-command-line -# Defined shortcut keys: [Esc]man -bindkey "\e"man man-command-line - - -# ------------------------------------------------------------------------------ -# Also, you might want to use man-preview included in 'osx' plugin -# just substitute "man" in the function with "man-preview" after you included OS X in -# the .zshrc |