mirror of https://github.com/jkjoy/sunpeiwen.git
26 lines
351 B
Markdown
26 lines
351 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
|
|
```
|