1 | # Completion for Hexo
|
2 |
|
3 | ## Bash
|
4 |
|
5 | Add the following snippet to `~/.bashrc`.
|
6 |
|
7 | ``` sh
|
8 | eval "$(hexo --completion=bash)"
|
9 | ```
|
10 |
|
11 | ## Zsh
|
12 |
|
13 | Add the following snippet to `~/.zshrc`.
|
14 |
|
15 | ``` sh
|
16 | eval "$(hexo --completion=zsh)"
|
17 | ```
|
18 |
|
19 | ## Fish
|
20 |
|
21 | Add the following snippet to `~/.config/fish/config.fish`.
|
22 |
|
23 | ``` sh
|
24 | hexo --completion=fish | source
|
25 | ```
|