David Adam
81306d3b30
vendor_*.d: include /usr/local by default as "extra" directory
...
Closes #5029 .
2020-01-25 16:12:20 +08:00
Jason Nader
b2969f4dfb
Fix typo in mplayer completions
2020-01-25 08:36:15 +01:00
ridiculousfish
4f205f38b4
Clean up a few bits about discarding buffers
...
We weren't properly propagating the 'discarded' stuff from output
streams to buffers. Fix that.
2020-01-24 16:08:56 -08:00
ridiculousfish
b99546e7a0
Port cmdsub tests to littlecheck
2020-01-24 15:03:59 -08:00
Jason Nader
5bfb6fef76
Stringify __fish_pwd.fish
2020-01-24 19:05:08 +01:00
Jason
2a247c7fe5
Stringify ssh completions ( #6529 )
...
* Stringify ssh completions
* Fix completions for `-b` option
* Fix completions for `-b` option
2020-01-24 18:29:17 +01:00
239
3e08083d49
Add completions for loginctl and resolvectl ( #6501 )
...
* Add completions for loginctl and resolvectl
* Add #6501
* Fix optional arguments
* Remove placeholder arguments
Fix expected arguments
2020-01-24 18:27:47 +01:00
Aaron Bieber
903fe9de48
webconfig: Use tempfile instead of ~/.cache ( #6522 )
...
OpenBSD uses [unveil(2)](https://man.openbsd.org/unveil ) in chromium and
firefox. This means that things outside of directories like ~/Downloads or /tmp are not visible to the
browsers.
Change webconfig so it uses tempfile.NamedTemporaryFile to create our temp file.
2020-01-23 19:52:26 +01:00
ridiculousfish
dbbe8a2da5
Clarify expand_result_t comments
2020-01-22 11:51:40 -08:00
ridiculousfish
2af710f7c0
Eliminate expand_result_t::wildcard_match
...
This was an internal implementation detail that all callers had to deal
with. Just get rid of it.
2020-01-22 11:49:59 -08:00
Jason Nader
a5d625d389
Stringify j.fish
2020-01-22 17:43:18 +01:00
Jason Nader
2323a5629c
Stringify netctl completions
2020-01-22 17:41:43 +01:00
Jason Nader
1cafc4eff6
Amend comments incorrectly referring to sed
2020-01-22 17:40:31 +01:00
Aaron Bieber
0918b537ac
Get the list of VMs in a less fragile way.
2020-01-22 16:48:02 +01:00
Fabian Homborg
d61c188c3c
Fix xdg mimetype completion
...
This hung when no file existed, and failed to properly find the
directories if they didn't end in a "/".
Fixes #6525
[good for 3.1.0]
2020-01-22 16:33:56 +01:00
ridiculousfish
e398f66772
Run clang-format
2020-01-21 14:43:17 -08:00
Jason Nader
6fb545cf9b
Stringify gpg completions
2020-01-21 17:57:57 +01:00
Jason Nader
13a26a1c65
Remove dropbox
completions
2020-01-21 16:57:27 +01:00
Jason Nader
103a26ffb1
Fix function output on FreeBSD/Cygwin systems
2020-01-21 16:55:37 +01:00
Fabian Homborg
4e931fd967
completions/kill: Offer -SIGNAME
...
E.g. "kill -HUP".
2020-01-20 17:51:59 +01:00
Fabian Homborg
1480865d52
Stringify make_completion_signals
2020-01-20 17:51:59 +01:00
Fabian Homborg
acefa61e8b
Hardcode signal names/numbers on cygwin
...
Work around weirdness in Cygwin's kill implementation.
Fixes #6469 .
2020-01-20 17:51:59 +01:00
David Adam
26f744037a
Revert "Remove Base16 mention from CHANGELOG"
...
Will be in 3.1.0.
2020-01-20 20:13:59 +08:00
Shun Sakai
2035b90bfe
CHANGELOG: Add keepassxc-cli
completions
2020-01-20 20:13:54 +08:00
Jason Nader
f63ae0fb4d
Add missing comment to bower.fish
...
Same comment found in yarn.fish
2020-01-20 19:45:21 +08:00
Fabian Homborg
65397d4f5e
Fix tests
...
By changing to flog I inadvertently changed the warning text from "<W>
fish:" to "warning:".
Since that's also okay, let's leave it.
2020-01-19 15:07:06 +01:00
Fabian Homborg
26fa774f44
Add path flog category
2020-01-19 14:55:39 +01:00
Fabian Homborg
f632a9e998
Add env-dispatch flog category
2020-01-19 14:55:39 +01:00
Fabian Homborg
4cb3ce0314
Add a 5 debug to the iothread flog
2020-01-19 14:55:39 +01:00
Fabian Homborg
483018222d
Add complete flog category
2020-01-19 14:55:39 +01:00
Fabian Homborg
246882b52d
Add proc-pgroup flog category
...
I'm not *super*-happy with this, because pgroups and terminal
ownership and such are quite entertwined.
But hey, if all fails just use `proc'*'`
2020-01-19 14:55:24 +01:00
Fabian Homborg
0c49f45028
fish_key_reader: Remove debug messages
...
These are related to *signal handlers* in fish_key_reader, and I don't
think this code needed to be touched since it was added.
2020-01-19 14:55:24 +01:00
Fabian Homborg
fe931aeea7
Add more messages to termowner flog category
2020-01-19 14:55:24 +01:00
Fabian Homborg
8b1ac0912b
Add reader flog category
...
For both input and reader, because the "reader" term is more general
and we don't have enough messages to justify multiple categories
2020-01-19 14:55:08 +01:00
Fabian Homborg
a48926dee5
Add and use "should_flog" macro
...
Useful to figure out if a flog category is enabled.
We only use it in one place, but it seems like the sort of thing that
should exist.
2020-01-19 14:55:08 +01:00
Fabian Homborg
349b9e9dee
Remove commented out debugs
2020-01-19 14:54:53 +01:00
Fabian Homborg
b09ae82ecf
Remove a few less useful debug messages
...
These were level 5, so I'd bet nobody ever saw them
2020-01-19 14:22:50 +01:00
Fabian Homborg
5da4f7e7c5
Add flog category for config reading
2020-01-19 14:22:50 +01:00
Fabian Homborg
123676075f
Add flog category for history *file*
2020-01-19 14:22:50 +01:00
Fabian Homborg
6793d35340
Add flog categories for parse-productions
...
One for usable messages, another for the chatty ones.
Use like `--debug=parse-productions'*'`.
2020-01-19 14:22:50 +01:00
Fabian Homborg
14c2c623b4
Add flog category for uvar file
...
This used debug level 5, which means it was basically unusable.
2020-01-19 14:22:50 +01:00
Fabian Homborg
4e0ec080e3
Add flog category for terminal support
...
This is meant to show messages related to what a terminal supports.
In particular which color or emoji it can handle.
2020-01-19 14:22:50 +01:00
Fabian Homborg
024e03ab1e
Replace debug(1) with FLOGF(warning)
2020-01-19 14:22:39 +01:00
Fabian Homborg
384f18a51c
Remove last remaining debug(0)
...
Replace with FLOGF.
2020-01-19 13:31:25 +01:00
Fabian Homborg
0e5846ee38
completions/fish: Rename debug-level
...
This was renamed to just "--debug", but missed in the completions.
See #5910
[ci skip]
2020-01-19 13:28:21 +01:00
Fabian Homborg
d972623191
Fix vendor paths without $XDG_DATA_DIRS
...
We'd use $__fish_data_dir, but that already had the "/fish" component,
and then we'd add it again later, so we would try to find vendor
functions in places like
/usr/share/fish/fish/vendor_functions.d
which obviously don't exist.
Instead let's add the "/fish" component to the xdg dirs early, which
also saves us from having to repeat it later.
Fixes #6428
See #6508
[ci skip]
2020-01-19 09:28:56 +01:00
Shun Sakai
f04536637d
Add keepassxc-cli
completions
2020-01-18 12:27:04 -08:00
ridiculousfish
e34e5d88db
Remove Base16 mention from CHANGELOG
...
It's not in 3.1.0.
2020-01-18 12:26:25 -08:00
Greg Anders
e143618aef
Set base16 colors for operator, escape, and match
2020-01-18 12:16:19 -08:00
Greg Anders
1331b32cce
Add Base16 color options to fish_config
2020-01-18 12:16:19 -08:00