hexo/node_modules/hexo-cli/completion/README.md

26 lines
351 B
Markdown
Raw Normal View History

2023-10-03 11:14:36 +08:00
# Completion for Hexo
## Bash
Add the following snippet to `~/.bashrc`.
``` sh
eval "$(hexo --completion=bash)"
```
## Zsh
Add the following snippet to `~/.zshrc`.
``` sh
eval "$(hexo --completion=zsh)"
```
## Fish
Add the following snippet to `~/.config/fish/config.fish`.
``` sh
hexo --completion=fish | source
```