mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
feat(plugins): add zsh-vi-man plugin for smart man page lookup in vi mode
This commit is contained in:
parent
0f45f82c0a
commit
93de73a77a
3 changed files with 182 additions and 0 deletions
7
plugins/zsh-vi-man/zsh-vi-man.plugin.zsh
Normal file
7
plugins/zsh-vi-man/zsh-vi-man.plugin.zsh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# According to the standard:
|
||||
# https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html
|
||||
0="${ZERO:-${${0:#$ZSH_ARGZERO}:-${(%):-%N}}}"
|
||||
0="${${(M)0:#/*}:-$PWD/$0}"
|
||||
|
||||
source "${0:h}/zsh-vi-man.zsh"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue