Aaron Gyes
b8dee05ad0
completions: remove functions that are never used
...
None of these __functions defined in completions are used or
referenced anywhere.
Found with:
function unused -a file search -d 'find unused functions'
set -f (string replace -fr '^[\s]*function ([\w_]+).*' '$1' < $file)
for cmd in $cmds
printf %d\ %s\n (grep -r ".*$cmd.*" $search < $argv | count) $cmd
end | string match '1 *'
end
for file in share/*/*.fish
unused $file share && printf "in %s\n" $file
end
2022-10-27 23:25:44 -07:00
Fabian Homborg
9367d4ff71
Reindent functions to remove useless quotes
...
This does not include checks/function.fish because that currently
includes a "; end" in a message that indent would remove, breaking the test.
2020-03-09 19:46:43 +01:00
Jason Nader
a619f69b15
Rename functions to match others
2020-02-17 09:55:05 +01:00
Jason
3cf6ebc0e1
Amend typos and grammar errors
2019-11-25 13:07:15 +01:00
Fabian Homborg
ce245704d7
Reformat completion scripts
...
These were excluded from style.fish
2019-05-05 12:53:09 +02:00
Wilke Schwiedop
78e6631e53
formatting
2019-04-29 18:33:37 +02:00
Wilke Schwiedop
d0c3a4f33f
completions/equery: shorten descriptions
2019-04-29 18:33:37 +02:00
Wilke Schwiedop
9d9966b156
add completion for 'equery files' filter switch
2018-04-25 15:46:15 +02:00
Wilke Schwiedop
80e30bc144
add argument completion for 'equery keywords'
2018-04-25 15:46:15 +02:00
Wilke Schwiedop
06cda3f0b0
fix 'equery uses' completion
2018-04-25 15:46:15 +02:00
Wilke Schwiedop
92fa94aa09
Improve equery completion
...
- fix capitalization
- shorten descriptions
- implement subcommand shortcuts
- add arg completion for 'limit' and 'depth' switches
- improve arg completion for list subcommand in case of -p switch
2018-04-25 15:46:15 +02:00
Wilke Schwiedop
44e2c28255
revisit gentoo-related completions ( #4758 )
...
* revisit gentoo-related completions
- add completion for emaint
- improve completion for emerge
still incomplete, but an impovement regardless
- improve completion for equery
- add gentoo/portage-related auxiliary functions
* fix spelling
* remove trailing '.'
* remove old '_' invocation and capitalize descriptions
* add number-completion
* remove trailing '.'
* shorter descriptions
* replace sed with fish-builtin and drop deduplication
* batch change capitalization (lower case)
* indent equery descriptions
* batch change capitalization (upper case)
2018-03-23 19:42:30 +01:00
Aaron Gyes
68527ff20c
completions: --description -> -d
...
This ends up saving a surprising number of bytes.
2017-10-11 10:17:35 -07:00
Wilke Schwiedop
e8bed9e038
replace "sort | uniq" with "sort -u" in scripts
2016-12-21 13:46:43 +01:00
axel
34e27ff4c2
Drop use of the N_ no-op for translation descriptions. Instead, tell xgettext that any token following '--description' should be translated. This should greatly speed up completion loading on platforms where fork() is slow. (Hi, OS X)
...
darcs-hash:20070116011828-ac50b-fb923dc877869ded4d506bbe0bc5364eea44092f.gz
2007-01-16 11:18:28 +10:00
axel
9bc9e1c08d
Add completions for equery, written by Tassilo Horn.
...
darcs-hash:20061107211708-ac50b-6199e58e84bc8ee8729be5f2a5ff2f3518888bfc.gz
2006-11-08 07:17:08 +10:00