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

26 lines
326 B
Markdown

# 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
```