Skip to content

Commit

Permalink
Merge pull request #350 from psprint/zinit.1-manual
Browse files Browse the repository at this point in the history
  • Loading branch information
alichtman authored Sep 28, 2022
2 parents 37cd36e + cc724a4 commit 5be3b2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zinit.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -1296,6 +1296,11 @@ builtin setopt noaliases
# Create ZINIT[MAN_DIR]/man{1..9}
command mkdir 2>/dev/null -p ${~ZINIT[MAN_DIR]}/man{1..9}
}
# Copy Zinit manpage so that man is able to find it
[[ ! -f $ZINIT[MAN_DIR]/man1/zinit.1 ]] && {
command mkdir -p $ZINIT[MAN_DIR]/man1
command cp $ZINIT[BIN_DIR]/doc/zinit.1 $ZINIT[MAN_DIR]/man1
}
} # ]]]
# FUNCTION: .zinit-load-object. [[[
.zinit-load-object() {
Expand Down

0 comments on commit 5be3b2a

Please sign in to comment.