mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
parent
3c3e7369ae
commit
a4c9b3a70d
2 changed files with 12 additions and 0 deletions
|
@ -116,6 +116,7 @@ Completions
|
|||
- ``clojure``
|
||||
- ``loadkeys``
|
||||
- ``toot``
|
||||
- ``eg``
|
||||
|
||||
- Improvements to some completions.
|
||||
|
||||
|
|
11
share/completions/eg.fish
Normal file
11
share/completions/eg.fish
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Based on https://github.com/srsudar/eg/blob/master/eg/core.py#L75 source code
|
||||
|
||||
complete -c eg -s v -l version -d 'Show version and exit'
|
||||
complete -c eg -s f -l config-file -d 'A path to a .egrc file'
|
||||
complete -c eg -s e -l edit -d 'Edit custom examples for a specific command'
|
||||
complete -c eg -l examples-dir -d 'A location to examples/ directory'
|
||||
complete -c eg -s c -l custom-dir -d 'A path to a directory with user-defined examples'
|
||||
complete -c eg -s p -l pager-cmd -d 'A pager'
|
||||
complete -c eg -s l -l list -d 'Show all the programs with eg entries'
|
||||
complete -c eg -l color -d 'Colorize output'
|
||||
complete -c eg -l no-color -d 'Do not colorize output'
|
Loading…
Reference in a new issue