Fabian Boehm
78c9482822
Reformat share/**.fish with newlines collapsed
2024-02-27 16:25:01 +01:00
Johannes Altmanninger
29f35d6cdf
completion: adopt commandline -x replacing deprecated -o
...
This gives us more accurate completions because completion scripts get
expanded paths
2024-01-27 09:28:06 +01:00
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
Fabian Homborg
ce245704d7
Reformat completion scripts
...
These were excluded from style.fish
2019-05-05 12:53:09 +02:00
raichoo
d4f5689eaa
modernize darcs
completion
...
`darcs` has changed a lot in recent years. The completion is no longer
up to date.
2018-07-28 13:10:13 -07:00
Aaron Gyes
68527ff20c
completions: --description -> -d
...
This ends up saving a surprising number of bytes.
2017-10-11 10:17:35 -07:00
raichoo
cabebd9f51
Fix broken darcs completion
2013-07-16 12:37:30 -07:00
David Adam (zanchey)
b03515276e
update darcs completions
2013-05-13 01:59:50 -07:00
axel
94a483d46b
Minor tweak to vcs completion generation code. Most significantly, some svn command descriptions which where previously truncated are now complete.
...
darcs-hash:20070324193714-ac50b-61b10db649ef82ba8d8d658ef10cc05c2253d5f0.gz
2007-03-25 05:37:14 +10:00
axel
0f51d5ec18
Do not use makefile to generate vcs completions, do it directly in the script. Also add some minor updates to the vcs completions.
...
darcs-hash:20070224125927-ac50b-f1242b198ea0651c993b045d584262dc32062338.gz
2007-02-24 22:59:27 +10:00
axel
20d42378de
Remove trailing period in descriptions for darcs and svn
...
darcs-hash:20070129183116-ac50b-c4870570baaee554457413360c084209cb6a4090.gz
2007-01-30 04:31:16 +10:00
axel
bc1f9b6f1c
Another batch of fixes for the VCS completions
...
darcs-hash:20070127020141-ac50b-e617fbabb234af668fa7ded7f838d66477605c8d.gz
2007-01-27 12:01:41 +10:00
axel
11c2ec91d4
Update make_mercurial_completions.fish to also handle cvs. Correct bug causing issues in darcs completions.
...
darcs-hash:20070126012321-ac50b-caa9749f5e844ce5d06d84f2c38e282049369ed1.gz
2007-01-26 11:23:21 +10:00
axel
350b637a1a
Generalize make_mercurial_completions.fish a bit so it can be used with darcs as well. Add make targets for creating darcs/hg completions.
...
darcs-hash:20070125132836-ac50b-0e7a728e4be2386d696094a414a1c8bcaee771fc.gz
2007-01-25 23:28:36 +10:00
axel
bf5d4f6b07
Simplify completions for a few commands (svn, cvs, darcs, yum)
...
darcs-hash:20070120170940-ac50b-24c0e5b05ca03a590b90e795bbd62b15583e2bd1.gz
2007-01-21 03:09:40 +10: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
47588c8e75
Darcs completions: Check for file existance before trying to complete using the repos file. Thanks to Alexander Kellett for the bug report.
...
darcs-hash:20070115205209-ac50b-60c03383f55bb2dc1d0f5317d907f71c63b2bb7b.gz
2007-01-16 06:52:09 +10:00
axel
8b73bac580
Rename __fish_complete_directory to increase consistency
...
darcs-hash:20061202233433-ac50b-48368a338773ad47807b0032389fd305d86b3275.gz
2006-12-03 09:34:33 +10:00
axel
4c1d1bb218
Complete using known repos in darcs
...
darcs-hash:20061116132251-ac50b-d62d1a1b08d21b57fa6f7e7ae105d9b77026fd39.gz
2006-11-16 23:22:51 +10:00
axel
8784b78d84
Add a few more darcs completions. These are still unfinished, though.
...
darcs-hash:20061111105547-ac50b-0791e833664ff67d8ced1176577d8266fe4a3782.gz
2006-11-11 20:55:47 +10:00
axel
6522000bf0
Don't turn of file completion in svn completions if given an unknown subcommand
...
darcs-hash:20060827144853-ac50b-d09576fd6984eb18b06e0e7b1d8a88aa7b9d1df4.gz
2006-08-28 00:48:53 +10:00
axel
c2f6c6c1d2
Do gettext translation of descriptions just-in-time internally in fish
...
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
2006-03-02 02:53:47 +10:00
axel
343cafef34
Redo installation file structure, move lots of things to $PREFIX/share/fish
...
darcs-hash:20060217101339-ac50b-d93d2c620a4b7f75f05ff461a6edbee001da7613.gz
2006-02-17 20:13:39 +10:00