Skip to content

Commit 0d1c75f

Browse files
committed
fix readme
1 parent 0bcd2db commit 0d1c75f

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,23 @@ So you must first install fish shell, See below for installation instructions.
1111

1212
https://github.com/fish-shell/fish-shell
1313

14-
If you do not want to install fish, you can also manually place and run the conversion python script.
14+
If you do not want to install fish, you can also manually place and run the conversion python script as an example below.
15+
16+
```
17+
# download script
18+
$ sudo wget --backups=1 -P /usr/local/bin/ https://raw.githubusercontent.com/fish-shell/fish-shell/master/share/tools/{create_manpage_completions,deroff}.py
19+
$ sudo chmod a+x /usr/local/bin/{create_manpage_completions,deroff}.py
20+
21+
# create arbitrary fish completion folder
22+
$ mkdir ~/fish_generated_completions
23+
24+
# generate fish completions from manpage
25+
$ create_manpage_completions.py --manpath --cleanup-in ~/fish_generated_completions -d ~/fish_generated_completions --progress
26+
27+
# and then specify -src option to convert
28+
$ zsh-manpage-completion-generator -src ~/fish_generated_completions
29+
```
30+
1531

1632
## Installation
1733

0 commit comments

Comments
 (0)