+8
-3
lines changedFilter options
+8
-3
lines changed Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ auto-completions for your shell.
12
12
for your OS and put it into your =$PATH=.
13
13
14
14
Then you need to edit your init script and add few lines.
15
-
15
+
16
16
** Bash
17
17
Add to =~/.bashrc=
18
18
#+BEGIN_SRC
@@ -24,6 +24,11 @@ auto-completions for your shell.
24
24
#+BEGIN_SRC
25
25
source <(cod init $$ zsh)
26
26
#+END_SRC
27
+
Or, use a plugin manager like zinit:
28
+
#+BEGIN_SRC
29
+
zinit wait lucid for \
30
+
dim-an/cod
31
+
#+END_SRC
27
32
28
33
** Fish
29
34
Add to =~/.config/fish/config.fish=
@@ -43,7 +48,7 @@ auto-completions for your shell.
43
48
44
49
=cod= works with latest version of =fish= (tested: =v3.1.2") on Linux
45
50
(I didn't have a chance to test it on macOS).
46
-
51
+
47
52
48
53
* Build
49
54
[[https://golang.org/dl/][Go v1.16]] is recommended.
@@ -95,7 +100,7 @@ auto-completions for your shell.
95
100
** How cod parses help output
96
101
=cod= has generic parser that works with most of help pages and
97
102
recognizes flags (starting with =-=) but doesn't recognize subcommands.
98
-
103
+
99
104
It also has a special parser tuned for
100
105
[[https://docs.python.org/library/argparse.html][python argparse library]]
101
106
that recognizes flags and subcommands.
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4