-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support install by antigen, remove doc on obsolete `unsafe-perm…
…` flag
- Loading branch information
Showing
7 changed files
with
43 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# for antigen bundle init pipepine | ||
# https://github.com/zsh-users/antigen/blob/v2.2.3/bin/antigen.zsh#L518 | ||
# | ||
# install by npm, but do not run npm postinstall | ||
|
||
# `zsh-history-enquirer` is also the bin name of package | ||
if [[ ! -e $commands[zsh-history-enquirer] ]]; then | ||
if [[ ! -e $commands[npm] ]]; then | ||
echo 'Cannot install `zsh-history-enquirer` due to not found `npm`.' >&2 | ||
else | ||
export _INIT_ZSH_HISTORY_ENQUIRER_INSTALL=true | ||
npm i -g zsh-history-enquirer | ||
fi | ||
fi | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
scripts/zsh-history-enquirer.plugin.zsh → zsh-history-enquirer.plugin.zsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters