File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,23 @@ So you must first install fish shell, See below for installation instructions.
11
11
12
12
https://github.com/fish-shell/fish-shell
13
13
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
+
15
31
16
32
## Installation
17
33
You can’t perform that action at this time.
0 commit comments