Phuurl
46db332be5
Basic umask completion, and minor change to ulimit completion
2018-12-07 17:50:48 +01:00
ridiculousfish
6f33c0ccb5
Clean up some language and fix bogus escape in complete.fish
2018-12-03 23:14:01 -08:00
ridiculousfish
8521ce4cd2
Clean up complete
completions
...
Closes #5381
Squashed commit of the following:
commit d70e3451ac
Author: TJ Rana <tj.rana@icloud.com>
Date: Mon Dec 3 14:31:51 2018 -0500
Update heading
commit ec44e8ed35
Author: TJ Rana <tj.rana@icloud.com>
Date: Mon Dec 3 14:29:16 2018 -0500
Update complete.fish
commit a7178ab163
Author: TJ Rana <tj.rana@icloud.com>
Date: Mon Dec 3 00:46:42 2018 -0500
Clean up completion descriptions
commit e6134ceeaa
Author: TJ Rana <tj.rana@icloud.com>
Date: Mon Dec 3 00:26:42 2018 -0500
Fix grammar
commit 0a805b1016
Author: TJ Rana <tj.rana@icloud.com>
Date: Mon Dec 3 00:25:34 2018 -0500
Add option descriptors
commit 608bb02e41
Author: TJ Rana <tj.rana@icloud.com>
Date: Sun Dec 2 22:47:17 2018 -0500
Fix spelling
commit 375593fef4
Author: TJ Rana <tj.rana@icloud.com>
Date: Sun Dec 2 22:46:19 2018 -0500
Add heading
2018-12-03 23:12:54 -08:00
Fabian Homborg
42ec4aa2dd
completions/configure: Use first token ending in "configure"
...
Fixes #5376 .
[ci skip]
2018-11-30 11:27:24 +01:00
Aaron Gyes
d065ff840d
Fix switch statement
2018-11-25 07:50:10 -08:00
Aaron Gyes
4ceb21cf09
rm completions: update BSD options
...
lined up with {Open|Net|Free}BSD & Solaris manuals.
2018-11-25 06:08:24 -08:00
Aaron Gyes
a2212876a9
add a simple 'math' completion
2018-11-25 05:13:14 -08:00
Aaron Gyes
62c6a09f1c
ls.fish: simplify the logic a little.
2018-11-25 03:43:53 -08:00
Aaron Gyes
c2ae163bfe
ls completions: fix mistake.
2018-11-25 03:12:44 -08:00
Aaron Gyes
e89035d76c
ls completions: Solaris too. BSD vs POSIX -o conflict fixes
...
- Solaris is super annoying
- Also, use ls not command ls:
if I wrapped `gls` in a `ls` function, I'd want this.
2018-11-25 03:07:16 -08:00
Aaron Gyes
c1af29f641
__fish_config_interactive: tell complete that [ wraps test
...
We want to show our completions for the `[` (`test`) builtin, but
we don't want to create a [.fish.
2018-11-25 02:04:56 -08:00
Aaron Gyes
a4f27bea36
cp completions: Give not-GNU cp the floam treatment
2018-11-25 01:45:45 -08:00
Aaron Gyes
7d79d326b5
test completions: we accept floats now
2018-11-25 00:15:11 -08:00
Aaron Gyes
8d0e1f3bcc
test completions: don't complete files for string tests, wrap [
...
also removed --help - test doesn't do that.
2018-11-25 00:08:59 -08:00
Aaron Gyes
cc3fd9cf8f
mv completions: Correctness improvements and updates for GNU, BSD, Solaris mv
...
Reflect GNU mv from this decade, and the options handled
by specific non-GNU OSes.
2018-11-24 23:32:44 -08:00
Aaron Gyes
ca46c556c3
ls completions: BSD fixes
...
`ls` was suggesting options that are are not valid for my system,
omitting options that are on my system. Different BSD OSes have
different option extensions, and some of them do conflict with eachother.
I carefully checked the manuals of netbsd, macos, freebsd, and openbsd
`ls` and made the completions show the right completions in full for them.
Some verbiage tweaks as well.
2018-11-23 10:31:51 -08:00
Mahmoud Al-Qudsi
31d17f4559
Rename string escape --style=pcre2
to string escape --style=regex
2018-11-16 20:22:06 -06:00
Mahmoud Al-Qudsi
ab0f1d33fe
Make use of the new PCRE2 escaping feature
...
Fixes some potentially unsafe uses of direct substitution into regex
expressions and also switches some completions to regex-based now that
there is a safe way of using it.
2018-11-15 12:37:29 -06:00
Aaron Gyes
7437f82d92
obnam completions: use $hostname instead of (hostname)
2018-11-13 15:49:03 -08:00
Fabian Homborg
7257c69979
completions/string: Add escaping styles
2018-11-12 18:56:11 +01:00
Fabian Homborg
7a20e8d64d
completions/busctl: Port to argparse
...
This is much faster!
2018-11-12 18:53:30 +01:00
Fabian Homborg
2d2f7c8fb1
completions/ip: Restyle
...
Just run `fish_indent` on the entire thing.
2018-11-12 16:28:24 +01:00
Fabian Homborg
15f089897d
completions/ip: Add basic ip link set
completions
2018-11-12 16:22:43 +01:00
David Adam
4b28e9d2e4
read: update completions to include --lines and --null
...
Does not include --all-lines pending discussion in #5332 .
2018-11-12 23:13:41 +08:00
Mahmoud Al-Qudsi
34440165aa
Add completions for openocd
2018-11-07 20:08:16 -06:00
Mahmoud Al-Qudsi
6b7501d715
Correct pandoc data directory path in completions
...
Incorrectly assumed that pandoc uses XDG_CONFIG_HOME, it turns out the
path is hard-coded as $HOME/.pandoc unless explicitly otherwise
specified in the command-line.
2018-11-07 18:34:50 +00:00
Fabian Homborg
4d4227e57f
completions/git: Match files inside directories again
...
Fixes #5317 .
2018-11-05 15:53:06 +01:00
Mahmoud Al-Qudsi
8ebf2b8f70
Improve pandoc completions
...
* Only suggest PDF engines that are currently installed
* Use XDG_CONFIG_HOME (after a fashion)
* Initialize lists as arrays instead of blind strings
2018-11-04 20:49:57 -06:00
Mahmoud Al-Qudsi
ffb4ab5ca8
Prevent pandoc completions from polluting global namespace
2018-11-04 20:38:59 -06:00
Mahmoud Al-Qudsi
11b0b23587
Add git remote remove
completions
2018-11-04 14:36:51 -06:00
David Sanson
7926b69d15
Add completions for pandoc
...
Taken from https://github.com/dsanson/fish-completion-pandoc under the
GNU GPL as at 7195da6fc4bcbdd49ea63d47c27e4bfec2135660.
Closes #2937 .
2018-11-04 21:22:58 +08:00
Mahmoud Al-Qudsi
b23bda8ed6
Only offer local branches for deletion in git completions
2018-10-30 05:14:20 +00:00
Mahmoud Al-Qudsi
1288877033
Update yarn completions
...
Don't attempt to complete against package names if the user is trying to
enter a switch to speed things up.
Also work around #5267 by not wrapping unfiltered `all-the-package-name`
calls in a function.
2018-10-29 13:56:40 -05:00
Clément Martinez
13c2b4cdc3
Improve virsh completions
2018-10-29 18:01:52 +01:00
Mahmoud Al-Qudsi
5ad292328a
Add dynamic clang completions via clang --autocomplete
...
Use clang/clang++'s own autocompletion support to complete arguments. It
is rather convoluted as clang generates autocompletions for a portion of
the current token rather than the entire token, e.g. while `--st` will
autocomplete to `--std=` (which is fine by fish), `--std=g` will
autocomplete to `gnu...` without the leading `--std=` which breaks fish'
support for the completion.
Additionally, on systems where clang/clang++ is the system compiler
(such as FreeBSD), it is very often for users to invoke a newer version
of clang/clang++ installed as clang[++]-NN instead of clang. Using a
monkey-patched version of `complete -p` to support that without breaking
(future) completions for commands like `clang-format`.
Closes #4174 .
2018-10-24 23:14:55 -05:00
Fabian Homborg
809998a9a5
completions/git: Use argparse
...
This is a tiny bit faster, but mostly it's more concise and extendable.
2018-10-24 12:26:01 +02:00
Fabian Homborg
381215ef07
completions/git: Let git glob files
...
Fixes #5229 .
2018-10-24 12:22:31 +02:00
Mahmoud Al-Qudsi
ec2659c500
fixup! add makensis ( #5242 )
2018-10-16 13:50:42 -05:00
Mahmoud Al-Qudsi
c140b3c724
Add completions for git config
...
This includes dynamic completion of existing keys.
2018-10-14 18:17:23 -05:00
Mahmoud Al-Qudsi
9c6bd8b1b4
Add completions for kitty
terminal
...
This is a wrapper that calls kitty to dynamically provide completions,
as generated by kitty itself, via `kitty + complete setup fish`.
ref: https://sw.kovidgoyal.net/kitty/#fish
2018-10-14 16:32:49 -05:00
Xuanwo
5e77689c5a
completions: Add systemctl set-property support
2018-10-09 16:51:49 +02:00
Fabian Homborg
728dd25665
[completions/git] Add rebase --exec
...
Fixes #5236 .
2018-10-08 15:43:45 +02:00
Fabian Homborg
0aedd47af2
[completions/env] Argparsify
...
This fixes subcommand completions by using argparse to get the
subcommand, just like we did for `sudo`.
Reported by @adregan on gitter
2018-10-02 19:31:30 +02:00
evuez
f3cee81338
Add --color completion for diff
2018-10-02 18:51:14 +02:00
Mahmoud Al-Qudsi
264d8270a7
Emit an error message on literal zero indices
...
Mostly resolves #4862 , though there remains the lingering question of
whether or not to emit a warning to /dev/tty or stderr when a
non-literal-zero index evaluates to zero.
2018-10-01 20:58:26 -05:00
Mahmoud Al-Qudsi
5b696b5fb5
Update rsync completions
...
Closes #4863 .
2018-10-01 20:37:53 -05:00
Fabian Homborg
3b3361685a
[completions/git] Skip bare repositories
...
Otherwise this would print an unsightly error.
2018-09-27 13:18:26 +02:00
Digital
794b448c00
Add completions for openbsd's doas ( #5196 )
...
* Add completions for openbsd's doas
* Update CHANGELOG.md
* Implement requested changes
2018-09-25 12:31:46 +02:00
Mahmoud Al-Qudsi
deb6d477d4
Escape parameters in rustc
completions
...
Closes #5057 .
2018-09-20 18:59:57 -05:00
Sam Yu
17643ef12c
Fix zypper completion
...
* complete installed packages only for `zypper rm`
* remove incorrect local file completion
2018-09-16 21:15:32 -07:00