LawAbidingCactus
2f67cb341c
add remaining gpg2-specific completions; formatting
2019-09-21 22:04:17 +08:00
LawAbidingCactus
1a59731ea7
Create updated completions for gpg2
2019-09-21 22:04:17 +08:00
LawAbidingCactus
d2e9ee290c
rewrite __fish_complete_gpg_key_id to produce better output
2019-09-21 21:58:59 +08:00
Aaron Gyes
b7dd060dec
sample prompts: use $USER instead of (whoami)
2019-09-18 23:35:16 -07:00
Johannes Altmanninger
eea3bd5fc3
completions/git: improve completion for git restore and git switch
...
- suggest relevant files for git restore
- add `-r` to require an argument for some options
2019-09-18 14:08:43 -05:00
Johannes Altmanninger
ec834820f5
completions/git: handle 2 RM and 2 RD files
...
This commit makes git completions aware of files that are both staged as renamed, and have unstaged
modifications/are deleted.
__fish_git_files now potentially prints these files twice:
$ __fish_git_files renamed modified
foo Renamed file
foo Modified file
Fixes #6031
2019-09-18 14:03:11 -05:00
David Adam
737c2d156d
history: fixup exact matching by default
...
Work on #6070 . Fixup from 54ed2ad440
.
2019-09-11 23:12:10 +08:00
Mahmoud Al-Qudsi
58cd1a5140
Eschew hard-coding rustup components in favor of a hack
...
[ci skip]
2019-09-10 03:23:59 -05:00
Mahmoud Al-Qudsi
32546d6491
Reorder rustup
completions to avoid undefined function error
...
[ci skip]
2019-09-10 03:23:55 -05:00
Mahmoud Al-Qudsi
85f93ff002
Add dynamic completions for rustup
...
[ci skip]
2019-09-09 20:55:08 -05:00
Mahmoud Al-Qudsi
912421f1cb
Switch away from awk
for __fish_print_hostnames
...
By not manipulating each line or even each file at a time, we can go
back to `string` and piece together a pipeline that will execute
significantly faster than shelling out to `awk` will. This also removes
one of the few dependencies on `awk` in the codebase.
With this change, `__fish_print_hostnames` now finishes ~80% faster than
it used to a few commits back.
2019-09-05 22:44:09 -05:00
Mahmoud Al-Qudsi
1db861b4db
Clean & slightly optimize SSH hostnames handling in __fish_print_hostnames
2019-09-05 22:44:09 -05:00
Mahmoud Al-Qudsi
06317f0a98
Optimize __fish_print_hostnames
hosts file loading/parsing
...
Reordering the `getent hosts` and read from `/etc/hosts` combined with
minimizing shelling and job invocations for parsing the output results
in a profiled and benchmarked ~42% decrease in the time it takes to run,
and that's on a machine with a very small hosts list in the first place.
This update also fixes the hadling of IPv6 addresses in the hosts
output, which were previously ignored, and ignores 127.* loopback
addresses in addition to the 0.0.0.0 address (plus adds support for
shorter IPv4 notations).
2019-09-05 22:44:09 -05:00
LawAbidingCactus
c20a9ea477
fix compatibility with BSD sed
...
Closes #6087 .
2019-09-03 15:35:04 +08:00
David Adam
54ed2ad440
history: implement exact matching by default for delete
...
Brings behaviour into line with documented and intended behaviour.
Closes #6070 .
2019-09-02 22:59:52 +08:00
Nathan Galt
8b84f4f117
Add completions/tokei.fish
...
Closes #6085 .
2019-09-02 22:37:01 +08:00
Nathan Galt
76195dfe1d
Update bat completions from 0.11.0 to 0.12.0
...
Closes #6084 .
2019-09-02 22:35:08 +08:00
Nathan Galt
635dafeb9c
Update bat completion to support cache command
...
Closes #6076 .
2019-09-02 22:32:47 +08:00
Shun Sakai
5221d723ca
Added patool completions
2019-09-01 17:28:46 -07:00
Shun Sakai
42c6b9c176
Implemented the completions of all options of git restore
and git switch
( #6054 )
...
* Implemented the completions of all options of `git restore` and `git switch`
* Apply requested changes
2019-08-30 11:31:35 +02:00
Sergei Morozov
753f49dba9
Added git rebase --rebase-merges[=(rebase-cousins|no-rebase-cousins)] to completion
...
See https://git-scm.com/docs/git-rebase/2.18.0#git-rebase--r
2019-08-27 22:04:55 +02:00
LawAbidingCactus
35b64b0470
add completions for qubes-gpg-client
2019-08-27 15:20:07 +08:00
adiabatic
dd34bf0ba6
Create bat.fish
2019-08-23 21:49:55 -07:00
Shun Sakai
ecacf34693
Added git restore
and git switch
completions
...
These commands were added in version 2.23.
2019-08-22 20:25:02 +08:00
adiabatic
85f57d1d33
Create hledger.fish
2019-08-16 21:25:41 -07:00
Aaron Gyes
edc8d5d7a3
string-replace-fewer-backslashes -> regex-easyesc
...
This shortens a very long feature name.
See discussion in #5805
2019-08-13 22:32:04 -07:00
adiabatic
ab6fd6554f
Add completions/cwebp.fish
2019-08-08 18:51:13 +02:00
Daniel Bretoi
575fdb5492
add missing flag
2019-08-06 20:19:12 +02:00
adiabatic
9b89b820da
Add completions/src.fish
2019-08-05 12:18:29 +02:00
Fabian Homborg
2c3bc1e857
Fix grep wrapper completions
...
[ci skip]
2019-08-04 15:34:33 +02:00
Fabian Homborg
3296bb6c3b
Fix apt-show-versions command name
...
[ci skip]
2019-08-04 15:34:33 +02:00
Fabian Homborg
3fd567749c
Fix latex tool completions
...
Again the wrapping was used the wrong way around.
(also why on earth are there like fifty of these darn things?)
[ci skip]
2019-08-04 15:34:32 +02:00
Fabian Homborg
ab1b2b84f6
Move netcat completions to an autoloadable name
...
The file was named "netcat", but it completes a tool named "nc", so it
wouldn't be loaded.
[ci skip]
2019-08-04 15:34:32 +02:00
Fabian Homborg
8ea034837d
Remove pacsrv completions
...
These have been broken for 4 years (completed `pacsrc` instead), and I
can't find the tool anywhere.
[ci skip]
2019-08-04 15:34:32 +02:00
Fabian Homborg
0fc4b415ac
Fix rgrep completions
...
This used the arguments the wrong way around.
2019-08-04 15:34:32 +02:00
adiabatic
75a6ad602f
completions/canto.fish: s/cnato/canto/
2019-08-04 15:21:41 +02:00
mk2
0083555925
Move __fish_complete_abook_formats to abook
2019-08-04 15:20:32 +02:00
Shun Sakai
67cf50eda4
Added completions of languages developed by Microsoft
...
* csc, csi, vbc - .NET Compiler Platform (Roslyn)
* fsharpc, fsharpi - F# compiler and REPL environment
* tsc - TypeScript compiler
2019-08-03 14:47:59 -07:00
Klaus Alexander Seistrup
7046d251d9
Make sure nop command always suceeds
2019-08-03 18:14:12 +02:00
Frederik Gladhorn
ffcf5a5e03
completions/git: Add git cherry
...
See for example: https://git-scm.com/docs/git-cherry
git cherry is quite helpful when trying to findout if merges between
branches are complete, when there were cherry-picks in addition to
merges.
2019-07-24 16:02:30 +02:00
Fabian Homborg
9e6ae1cbef
completions/git: Fix error with git config
...
This passed "--get" when it should have been "get".
Fixes #6000 .
[ci skip]
2019-07-20 14:25:45 +02:00
adiabatic
6ca56fe0cb
tmutil.fish: Add completions for local-snapshots subcommands ( #5995 )
...
* tmutil.fish: Add local-snapshot subcommands
* tmutil.fish: Add completion for thinlocalsnapshots
* tmutil.fish: Run fish_indent
* tmutil.fish: Remove duplicate destinationinfo
2019-07-17 08:40:15 +02:00
Fabian Homborg
ef403129e4
fish_vi_key_bindings: Remove duplicate \cc binding
...
Already done in the shared bindings.
[ci skip]
2019-07-15 21:04:23 +02:00
Fabian Homborg
33dbd98200
Remove x-bit from function
2019-07-15 21:02:08 +02:00
Fabian Homborg
56e122866c
fish_svn_prompt: Shorten a return
2019-07-15 21:02:08 +02:00
Per Bothner
2dcaf4f5c0
Emit 'fish_cancel' at end of __fish_cancel_commandline.
...
This helps with shell integration - see issue #5973
"shell-integration - how distringuish winch repaint from ctrl-c cancel".
2019-07-15 21:01:49 +02:00
Fabian Homborg
47e9e8ab8a
fish_vcs_prompt: Stop at first success
...
Closes #5980 .
2019-07-15 17:32:22 +02:00
Mahmoud Al-Qudsi
7ee675afcf
Update aws
and aws s3
completions
...
Improve handling of switches interjected between the commands, and
support for completing buckets automatically for secondary+ parameters
to `aws s3`.
2019-07-11 21:22:25 -05:00
Peter Lithammer
9d47c46a7a
Suppress shell function lookup for ssh during scp completion
...
This prevents functions or aliases to run during tab completion of
remote files for the `scp` command.
2019-07-08 22:12:44 +02:00
tomKPZ
42f38bb806
Fix status code coloring for nim prompt
2019-07-07 19:36:17 +02:00