Skip to content
Fossil Changes To Auto-completion
Login

Changes To Auto-completion

Changes to "Auto-completion" between 2008-02-10 16:50:37 and 2008-02-10 17:17:18

︙
11
12
13
14
15
16
17























11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
fi
</verbatim>

It would be nice if we could develop and maintain a file that would enable this for fossil when copied to /etc/bash_completion.d (system wide) or sourced in .bashrc. I do not know if this can be made in a portable (or at least automated) manner at all.

Would attach the /etc/bash_completion.d/subversion file as example, but can't - and it's a bit too long to include here


<hr>


<hr><i>On 2008-02-10 17:17:18 UTC anonymous added:</i><br />
Fossil only needs enough of a command to make it unique, e.g.

<verbatim>
eric@tasso:~$ fossil h
fossil: ambiguous command prefix: h
fossil: use "help" for more information
eric@tasso:~$ fossil he
Usage: fossil help COMMAND.
Available COMMANDs:
add          close        gdiff        new          revert       timeline
branch       commit       help         open         rm           undo
cgi          deconstruct  http         pull         server       update
changes      del          info         push         settings     user
checkout     descendents  leaves       rebuild      status
clean        diff         ls           reconstruct  sync
clone        extra        merge        redo         tag
This is fossil version [e487b77b1a] 2008-02-04 02:45:55
</verbatim>