Jason Nader
45b1ca25a5
Speed up python startup time
2020-02-28 11:23:58 +01:00
Jason Nader
82ab7e39f0
mupdf: update completions
...
[skip-ci]
2020-02-28 11:17:38 +01:00
Jason Nader
39e6570d73
pkginfo: add pypi/pkginfo completions
2020-02-28 11:17:38 +01:00
Jason Nader
94a3a5ff37
telnet: remove gettext cruft
2020-02-28 11:17:38 +01:00
Jason Nader
5fa05d0504
telnet: update completions
...
GNU: https://www.gnu.org/software/inetutils/manual/html_node/telnet-invocation.html
FreeBSD: https://www.freebsd.org/cgi/man.cgi?telnet
OpenBSD: https://man.openbsd.org/telnet.1
NetBSD: https://netbsd.gw.com/cgi-bin/man-cgi?telnet+1.i386+NetBSD-8.0
[skip-ci]
2020-02-28 11:17:38 +01:00
Jason Nader
3279661e3a
whatis: add option completions
...
[skip-ci]
2020-02-28 11:17:38 +01:00
Jan Verbeek
d02736c0ce
Improve psql completions and add some related commands ( #6620 )
2020-02-28 11:16:41 +01:00
Fabian Homborg
0cbb130156
Draft releasenotes for 3.1.1
2020-02-26 20:00:56 +01:00
Delapouite
7f3d51da81
doc: fix 404 error for set_color command
2020-02-26 19:31:17 +01:00
Delapouite
c0271a71d1
doc: fix 404 error for set_color command
2020-02-26 19:30:46 +01:00
Fabian Homborg
22c0054c1e
Add check to test all fish files with -n
...
This executes `fish --no-execute` a whole bunch of times in order to
find syntax errors in our fish scripts.
tests/ is exempt because it contains syntax errors on purpose.
This is a great idea in principle, but it takes ~4s on my system.
2020-02-26 19:15:50 +01:00
Fabian Homborg
3e689f1f58
test: Reject nan/inf instead of crashing
...
I really don't want to get into the business of explaining to people
how nan != nan.
Fixes #6655 .
2020-02-26 16:43:27 +01:00
Fabian Homborg
70b8fb22e1
test: Reject nan/inf instead of crashing
...
I really don't want to get into the business of explaining to people
how nan != nan.
Fixes #6655 .
2020-02-26 16:43:12 +01:00
Delapouite
a53405a7be
doc(ulimit): add missing backquotes around -H, -S and -a options
2020-02-26 16:33:56 +01:00
Jason Nader
6052758c28
Add strace completions (basic)
2020-02-26 16:32:58 +01:00
Fabian Homborg
298f43b62e
completions/git: Work around read trimming whitespace
...
Since #6406 , read will trim whitespace before the last variable.
In this case there is only one variable, and the line looks like
M CHANGELOG.md
so it does indeed start with whitespace, and the whitespace is quite
significant.
Fixes #6650 .
[ci skip]
2020-02-25 19:08:07 +01:00
Fabian Homborg
cebfaa7786
completions/git: Work around read trimming whitespace
...
Since #6406 , read will trim whitespace before the last variable.
In this case there is only one variable, and the line looks like
M CHANGELOG.md
so it does indeed start with whitespace, and the whitespace is quite
significant.
Fixes #6650 .
[ci skip]
2020-02-25 18:53:46 +01:00
Fabian Homborg
866df1ac86
docs: Rewrite variable expansion section
...
Was a bit stuffy.
Hopefully now it should flow a bit better.
[ci skip]
2020-02-24 19:36:37 +01:00
Johannes Altmanninger
1ca529a3d4
fixup test
...
only works interactively
(cherry picked from commit ccd3ac4f18
)
2020-02-24 21:44:23 +08:00
Johannes Altmanninger
6b6dc7ad20
move variable_assignment_equal_pos to tokenizer
...
we'll need it for tok_command
(cherry picked from commit ebde9a6a44
)
2020-02-24 21:14:37 +08:00
Johannes Altmanninger
676a97cf0b
Skip variable assignments in status current command
...
Fixes #6635
(cherry picked from commit aa0e16b1a5
)
2020-02-24 20:57:43 +08:00
Johannes Altmanninger
26949fa865
List time as builtin, support time --help
...
`a=b time foo` will no longer call an external `time` command
(like it does in bash).
Fixes #6598
(cherry picked from commit 7ef7f93a90
)
2020-02-24 20:08:44 +08:00
Delapouite
f3eb996b45
doc: add interlinks between true
←→ false
and and
←→ or
cmds
...
(cherry picked from commit dce0fda2cc
)
2020-02-24 20:05:21 +08:00
Simon Rainer
e1a08e3f58
Add additional vi bindings
...
Adds dh, dl, c0, cf, ct, cF, cT, ch, cl, and y0 bindings.
2020-02-24 00:05:14 -08:00
Delapouite
dce0fda2cc
doc: add interlinks between true
←→ false
and and
←→ or
cmds
2020-02-23 23:41:16 -08:00
Johannes Altmanninger
ccd3ac4f18
fixup test
...
only works interactively
2020-02-24 00:21:23 +01:00
Johannes Altmanninger
aa0e16b1a5
Skip variable assignments in status current command
...
Fixes #6635
2020-02-24 00:16:12 +01:00
Johannes Altmanninger
ebde9a6a44
move variable_assignment_equal_pos to tokenizer
...
we'll need it for tok_command
2020-02-24 00:14:39 +01:00
Johannes Altmanninger
7ef7f93a90
List time as builtin, support time --help
...
`a=b time foo` will no longer call an external `time` command
(like it does in bash).
Fixes #6598
2020-02-23 23:42:57 +01:00
Delapouite
3f33576225
doc(abbr): adjust token names
...
(cherry picked from commit 4fba8022a9
)
2020-02-23 21:48:47 +08:00
Delapouite
4fba8022a9
doc(abbr): adjust token names
2020-02-23 21:36:55 +08:00
Jason Nader
0b7bbb5654
cleanup completions: localise/erase vars where possible
...
[skip-ci]
2020-02-23 11:10:32 +01:00
Jason Nader
90bd4aa2a1
lscpu.fish: disable file completions, localise var
2020-02-23 09:41:32 +01:00
Collin Styles
afabea76a1
Fix link in documentation
2020-02-23 09:38:22 +01:00
Collin Styles
b7f9d9a229
Fix link in documentation
2020-02-23 09:37:40 +01:00
Fabian Homborg
cb34efe897
docs/tutorial: Fix <
typo
...
See #6640
2020-02-23 09:35:24 +01:00
Fabian Homborg
1934e867f2
docs/tutorial: Fix <
typo
...
See #6640
2020-02-23 09:27:33 +01:00
Fabian Homborg
62f53e300a
docs/tutorial: Replace coloring markup
...
This used to use doxygen's html blocks, which don't have a *direct*
equivalent in sphinx in code blocks.
Instead of adding this to the pygments highlighter, let's just use
some roles.
It's a teensy bit awkward as we then use block styling, but we want to
add more of our own styling anyway, so we can presumably get this
somehow, and these html tags look awkward and confuse people.
Fix #6640
[ci skip]
2020-02-22 18:03:04 +01:00
Fabian Homborg
b5cbdc623d
docs/tutorial: Replace coloring markup
...
This used to use doxygen's html blocks, which don't have a *direct*
equivalent in sphinx in code blocks.
Instead of adding this to the pygments highlighter, let's just use
some roles.
It's a teensy bit awkward as we then use block styling, but we want to
add more of our own styling anyway, so we can presumably get this
somehow, and these html tags look awkward and confuse people.
Fix #6640
[ci skip]
2020-02-22 18:01:05 +01:00
Fabian Homborg
904d16f517
Ignore unreadable cwd error harder
...
Should fix the tests on macOS.
(cherry picked from commit 0d2c11249e
)
2020-02-22 17:34:25 +01:00
Fabian Homborg
0d18fec890
Let test for unreadable cwd work on macos
...
It has a different error. We don't care, we expect an error.
(cherry picked from commit 7c879ed356
)
2020-02-22 17:34:25 +01:00
Fabian Homborg
118f5e4485
completions/optipng: Add missing quote
...
Oops!
This should be in 3.1.1!
cc @zanchey
(cherry picked from commit 63b4a891ff
)
2020-02-22 17:22:35 +01:00
Fabian Homborg
f1c4fbaad8
docs: Correct bind docs on escape delay
...
We never updated that after we changed the default.
[ci skip]
(cherry picked from commit b28b14b67c
)
2020-02-22 23:33:31 +08:00
Daniel Zhang
fb84c137b5
Fix variable leaking in completion kill
...
(cherry picked from commit ff29d81532
)
2020-02-22 23:33:31 +08:00
Alexandre Badez
6ec62e3934
Correction link in doc.
...
(cherry picked from commit 7172bd38b3
)
2020-02-22 23:33:30 +08:00
Fabian Homborg
2af174513e
Reallow "2>>&1" as a redirection
...
Appending to an fd doesn't really make sense, but we allowed the
syntax previously and it was actually used.
It's not too harmful to allow it, so let's just do that again.
For the record: Zsh also allows it, bash doesn't.
Fixes #6614
(cherry picked from commit aba900a71f
)
2020-02-22 23:33:30 +08:00
Johannes Altmanninger
971a837031
Update exports when an exported universal variable changes
...
Fixes #6612
(cherry picked from commit 7517128b68
)
2020-02-22 23:33:06 +08:00
Lily Ballard
3882a2ffb3
Work around compilation failure with old Apple SDKs
...
When building fish-shell with the macOS 10.12 SDK, <sys/proc.h> does not
include <sys/time.h> but references `struct itimerval`. This causes a
compilation failure if we don't import <sys/time.h> ourselves.
This was previously masked by an import of <sys/sysctl.h>, which was
removed in fc0c39b6fd
.
(cherry picked from commit 47aeaa1535
)
2020-02-22 23:31:29 +08:00
Fabian Homborg
0c905e8121
Fix build on 32-bit systems
...
This was a weird case of the integer converseys.
Fixes #6609 .
(cherry picked from commit 399a71645e
)
2020-02-22 23:31:29 +08:00
Fabian Homborg
74ee866239
iothread: include cstdint, correctly
...
Yeah, this was needed in the *header*.
God I hate headers.
Fixes #6604 , for real this time
(cherry picked from commit f79ff72096
)
2020-02-22 23:31:29 +08:00