| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
With the fix for #365, fish_command_not_found event handlers
receive the command and all of its arguments. But commands
like /usr/lib/command-not-found expect only the command name.
So when invoking an external command, just pass the command
name, not all of the arguments.
|
|
|
|
| |
Fixes #1933
|
|
|
|
|
|
|
|
|
|
| |
In 73f344f41bd2, we allowed autoloaded functions to be deleted.
For some reason, funcsave immediately deletes the function it
creates. This previously did very little, since the function would
immediately be re-autoloaded, but with the fix for 73f344f41bd2
the function gets tombstoned. So the effect is that funcsave
makes the function disappear! This simply removes the erase call,
which dates back to fish 1.x.
|
|
|
|
|
|
| |
It seems that `ul` can't handle the escape sequences for bold text that `nroff` generates on my system. Fixed by either removing `| ul`, or adding `-c` to the `nroff` command.
Needs testing for old (OSX?) versions of nroff.
|
|
|
|
| |
Closes #2004.
|
|
|
|
|
|
| |
This reverts commit ad61c3f0d6be8b7eca4a70ccd29ba7ca6565cc6c.
Work on #1730.
|
|
|
|
| |
Work on #1730
|
|
|
|
| |
Makes the behaviour of the script match the documentation.
|
| |
|
|
|
|
| |
It should now support all unit types mentioned in systemd.unit(5)
|
| |
|
|
|
|
|
|
| |
Adds a fork but can't use builtin test yet.
Closes #1870.
|
|
|
|
| |
This partially reverts commit 60808a4820b1714.
|
|
|
|
|
| |
- checks for `pkgfile`, which is an optional (but official)
package used for searching for packages given a file
|
|
|
|
| |
This is an adaptation of terlar's git prompt output
|
|
|
|
| |
Closes #1917.
|
| |
|
|
|
|
| |
Restore 906d235 and simplify how __fish_restore_status works
|
| |
|
| |
|
|
|
|
|
|
| |
change it
Empty functions may return 1 when eval is used due to the $status not being correctly preserved inside the function definition.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Signed-off-by: Rack Lin <racklin@gmail.com>
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
|
|
|
|
|
| |
Use __ instead of _ as a placeholder for ignored variables in `read`
statements.
|
|
|
|
|
|
| |
grep will fall back to the default colors.
Closes #1316.
|
|
|
|
| |
Closes #1825.
|
|
|
|
| |
Closes #68.
|
|
|
|
| |
Work on #68.
|
|
|
|
|
|
|
| |
Allows abbreviations containing embedded newlines, etc., to be displayed
and exported properly.
Work on #731.
|
|
|
|
|
|
|
| |
Handle unusual cases ('=abc', ' =abc') better - regression from
8e8e6314due to a7bab7b.
Work on #731.
|
|
|
|
|
|
|
|
|
| |
Support for space-delimited abbreviations was added to the expansion
parser in fbade198; this commit extends that support to the user-facing
tools, and documents the space-separated behaviour. Equals-delimited
abbreviations are expected to be removed before the next release.
Work on #731.
|
|
|
|
| |
Closes #1787.
|
|
|
|
|
|
| |
Closes #1804.
Note that if systemd is not running, the completion will fail.
|
|
|
|
| |
Fixes #1323
|
|
|
|
|
| |
This removes some gnarly and probably broken code that attempts
to upgrade from fish 1.21 to fish 1.22. Fixes #1714.
|
|
|
|
|
|
| |
There is no CTRL-C handler for the default mode in the vi bindings. This makes it difficult to say "never mind" and start a new command line like you can do in bash's vi mode.
There were CTRL-C handlers for insert and visual modes that go back to default mode, but nothing happens in default mode. I copy-pasted the CTRL-C handler from the default key bindings file.
|
|
|
|
|
|
|
|
| |
(Ideally, the behaviour of git could be implemented: pipe the input
through a pager iff the length is > window size and in interactive
mode).
Closes #1076.
|
|
|
|
| |
Closes #1133.
|
|
|
|
| |
Fixes #1371
|
|
|
|
| |
Closes #1758.
|
|
|
|
|
|
|
| |
The terminal width magic that __fish_print_help learned doesn't help
when builtin_print_help runs it in a subshell. Instead, add an
undocumented --tty-width flag to __fish_print_help that's used to pass
the terminal width.
|
|
|
|
|
|
|
|
|
|
|
|
| |
As a result of this rewrite, the output now:
* Expands to fit the terminal width, like `man` does
* Preprocesses the manpage with `tbl` just in case, since `man` does
this, even though I doubt any fish manpages use `tbl` formatting.
* Handle bold/underline with the `ul` command as it was designed for
instead of trying to fake it with `sed`.
* Compresses blank lines as `man` does with the default `less -is`
pager.
|
|
|
|
|
|
| |
`eval` prints help if given a single argument of -h or --help.
Fixes #1379.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The usage is still the same, but it's a lot more robust, and also no
longer assumes $fish_user_abbreviations must be a universal variable.
This also fixes the unexpected error output when calling `abbr -a` with
no existing abbreviations.
Calling `abbr -a` with an abbreviation that already exists now silently
overwrites the abbreviation, just like `function` and `bind` do, instead
of complaining.
|
|
|
|
| |
Work on #731.
|
|
|
|
| |
Also fixes `cd /private` displaying as no path on OS X.
|
|
|
|
|
| |
Also do some minor formatting cleanup, make psub return 1 when executed
outside of a command substitution, and make it respect $TMPDIR.
|
|
|
|
|
|
|
|
|
|
| |
# The first commit's message is:
Simplify default fish_prompt
No need for the set_color caching now that it's a builtin.
Also simplify the 3 classic prompts in fish_config's sample_prompts set.
|