| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
| |
And tweak RTF.
|
|
|
|
|
| |
Explain that globs need to match the entire string and a bit about our
regular expressions.
|
|
|
|
|
|
| |
Function and code removed in 5bf1b0e5f
[ci skip]
|
|
|
|
|
|
|
| |
This should clarify `--delete`s behavior without `--prefix` or
`--contains` a bit.
Fixes #3054.
|
|
|
|
| |
Fixes #3072.
|
| |
|
| |
|
|
|
|
| |
Fixes #2812.
|
|
|
|
|
|
| |
This change allows the user to specify the script name on the CLI in addition
to being redirected from stdin. It also adds a `-w` flag to write the modified
script to the original file.
|
|
|
| |
this example uses regex, so it should not be in the glob examples
|
|
|
|
| |
Documents new behavior in #1428
|
|
|
|
|
|
|
|
|
|
| |
This change does several things. First, and most important, it allows
dumping the "n" most recent stack frames on each debug() call. Second,
it demangles the C++ symbols. Third, it prepends each debug() message
with the debug level.
Unrelated to the above I've replaced all `assert(!is_forked_child());`
statements with `ASSERT_IS_NOT_FORKED_CHILD()` for consistency.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's currently too easy for someone to bork their shell by doing something
like `function test; return 0; end`. That's obviously a silly, contrived,
example but the point is that novice users who learn about functions are
prone to do something like that without realizing it will bork the shell. Even
expert users who know about the `test` builtin might forget that, say, `pwd`
is a builtin.
This change adds a `--shadow-builtin` flag that must be specified to
indicate you know what you're doing.
Fixes #3000
|
|
|
|
|
|
|
|
|
|
| |
The original `key_reader` program was useful but didn't do much that `xxd`
or `od -tx1z` didn't do. Furthermore, it wasn't built and installed by
default. This change adds features that make it superior to those programs
for decoding interactive key presses and makes it a first-class citizen
like the `fish_indent` program that is always available.
Fixes #2991
|
| |
|
|
|
|
| |
See #3002.
|
|
|
|
| |
the Readme
|
|
|
|
|
|
|
|
|
|
|
| |
This makes it easy for the user to request floating point output with the
desired number of digits after the decimal point (not to be confused with
significant digits).
Note that this is just a thin wrapper so someone can say `math -s3 10 / 3`
rather than `math "scale=3; 10 /3"`.
Resolves #1643
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add missing color definitions to __fish_init_1_50_0 reset.
The values where determined by inspecting the values of:
* fish_color_end
* fish_color_user
* fish_color_host
after resetting the color theme via fish_config.
* Add documentation for fish_color_user and fish_color_host.
|
|
|
|
|
|
|
| |
Not all distros have a `realpath` command. Provide a function that uses the
real command if available else use the fish builtin.
Fixes #2932
|
|
|
|
|
| |
This was never mentioned in the documentation as the way to switch to
vi-mode, and now does nothing of value anymore.
|
|
|
|
|
|
| |
I noticed that Doxygen was also complaining about the "<asis>" and "<bs>"
tags. So convert those to the backslash form like we did for "<outp>" in the
previous commit.
|
|
|
|
|
|
|
|
|
|
| |
Doxygen has been warning that `<outp>` and `</outp>` are not valid XML/HTML commands since commit cb6d5d76 on 20016-04-04. That's primarily because there is at present no way to tell Doxygen to recognize new XML/HTML tags. The actual errors look like this:
```
.../string.doxygen:187: warning: Unsupported xml/html tag </outp> found
```
I hate build errors since they a) cause needless concern, and b) make it harder to notice when I've introduced a new error. So switch from XML/C## style markup to Doxygen style markup for the "outp" annotation.
|
| |
|
|
|
|
|
|
| |
At least delete-line was previously a thing, but none of these are still available.
First part of #2914
|
|
|
|
| |
Only lines that do not match the pattern are shown.
|
|
|
|
|
|
| |
- OSX Terminal does not support it
- We do some detection
|
|
|
|
| |
Make it clear that fish 2.3.0 changed how `$argv` is initialized.
|
|
|
|
|
|
|
|
| |
Modify `fish_indent` to emit redirections without a space before the target of
the redirection; e.g., "2>&1" rather than "2>& 1" as the former is clearer to
humans.
Fixes #2899
|
|
|
|
| |
Discussed in #2896.
|
|
|
|
|
|
|
| |
Print correct return code in 2nd example
Remove syntax colouring in \cg
Signed-off-by: Mark Griffiths <mark@thebespokepixel.com>
|
|
|
|
|
|
|
| |
I didn't notice when I merged commit cb6d5d76c8232264f66c9a1db895d9dd69d77bc3
by thebespokepixel.com that it removed the explicit wrapping in the `string`
man page. That makes `man string` harder to read so reinstate the explicit
wrapping.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add options to the autotools build to set the path for the "vendor"
or "extra" configuration snippets, functions and completions
directories.
- Remove the vendor_completions directory from the Xcode build, as
these are relocatable and compiling the paths in does not make sense.
This allows packaging tools like Homebrew and Nix to use a common
directory outside of the main prefix for third-party completions, and
to make these available for programmatic discovery through `pkg-config`.
Closes #2113
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes #2699
Fixes issues with:
* 'string' function synopsis
* Redirection display issues
* Better file & path detection
* Rendering of % & @ chars in both html and man
* @ symbol in tutorial
Improves robustness by implementing an @EOL marker to prevent hold buffer dumping extra chars after the end of an expression.
Added new '{{' and '}}' meta-chars for when you want curly braces in a regexp that was previously tripping up the lexicon.
Improve man/html presentation consistency for
* string
* printf
* prompt_pwd
* type
Use cli-styling for 'practical' examples.
Add <bs> tag for presenting content with preceding backslash.
Signed-off-by: Mark Griffiths <mark@thebespokepixel.com>
|
|
|
|
| |
Fixes #2874
|
|
|
|
| |
Fixes #2680
|
|
|
|
| |
Not completions.
|
|
|
|
| |
Fixes #2866.
|
|
|
|
| |
Fixes #2866.
|
|
|
|
|
| |
This would allow us to add a README and allows users to easily disable
something temporarily.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The existing implementation grows the $dirprev array without bounds. Besides
causing what would appear to be a memory leak it also makes the nextd and
prevd commands more expensive than they need to be. It also makes it harder to
create a useful "menu" cd command.
In addition to implementing a reasonable limit on the size of the $dirprev
array I've reformatted the code using fish_indent.
Update the documentation to include mentions of the $dirprev and $dirnext
variables as well as the limit on how much directory history is kept.
Fixes 2836
|
| |
|
|
|
|
|
|
|
|
|
| |
The swap-selection-start-stop function goes to the other end of the highlighted text, the equivalent of `o' for vim visual mode.
Add binding to the swap-selection-start-stop function, `o' when in visual
mode.
Document swap-selection-start-stop, begin-selection, end-selection, kill-selection.
|
|
|
|
| |
Fixes #2534 as backward-kill-path-component is now documented.
|
|
|
|
| |
The test is unnecessary.
|
|
|
|
|
|
|
|
|
| |
We silently upgrade existing abbreviations and change the separator when
saving.
This does not yet warn when the user is using the old syntax.
Resolves #2051
|
|
|
|
|
|
|
|
|
| |
This narrows the range of Unicode codepoints fish reserves for its own
use from U+E000 thru U+F8FE (6399 codepoints) to U+F600 thru U+F73F (320
codepoints). This is still not ideal since fish shouldn't be using any
Unicode private-use codepoints but it's a step in the right direction.
This partially addresses issue #2684.
|
|
|
|
| |
See #2777
|