| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Very simple, but effective.
|
| |
|
|
|
|
|
|
|
| |
This allows specifying a local branch to push to a certain remote
branch.
Fixes #3035.
|
|
|
|
|
|
|
|
| |
This is quite ugly because the syntax is ugly, the documentation both
under- and overspecified at the same time (a BNF that isn't...) and it
has a lot of functionality.
But the completion works half-decent for `ip address`, so let's ship it.
|
|
|
|
|
|
|
|
|
| |
Instead of just using Courier New across the board, have the
browser try several likely available fonts before defaulting
to the system's "monospace".
Thanks @MarkGriffiths
Fixes #2924
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
It's about time I finally fixed my emacs config.
|
|
|
|
| |
characters are given
|
|
|
|
|
| |
Because it allows sub-subcommands, it has functions to determine which,
if any, is used. These were too simplistic.
|
| |
|
|
|
|
| |
This _should_ be all of them.
|
|
|
|
|
|
| |
Now we can easily add an option to multiple commmands.
This should also fix some edgecases.
|
| |
|
| |
|
|
|
|
|
|
| |
I'm going to modify these functions as part of dealing with issue #3000
and don't want those changes to be masked by running the files through
`make style`.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It doesn't take options and what it takes (arbitrary strings) we can't
sensibly complete.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
It wasn't inherited.
Fixes #2964.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
There was an extended discussion in https://github.com/fish-shell/fish-shell/issues/2904 about using a bright yellow background to make the cancelled command indicator, ^C, standout. The upshot was that standout (i.e., reversing fg/bg colors) mode should be used until themes are agumented with proper support for background colors and special characters.
|
|
|
|
|
|
| |
This allows `; and netctl` to work.
First step towards #2705.
|
|
|
|
|
|
|
|
| |
This signifies a force-push.
To avoid cluttering, only complete branches if a + is already given.
Fixes #2879.
|
|
|
|
|
|
|
| |
A few commands (fetch, pull and push at least) take a "repository" (aka
"remote") and then a "refspec" (we currently do branches here).
Fixes #2525 (seems that man is still alive)
|
| |
|
|
|
|
|
| |
Now the next line appears immediately after the cancelled line,
without an intervening newline
|
|
|
| |
`git --help` is a valid command and fish should complete it as such
|
|
|
|
|
|
|
| |
Also, correct the Vi mode default escape timeout. I intended it to be 100 ms
in my previous change but it ended up 10 ms which is far too short. A 10 ms
delay will continue to cause problems for people running fish inside `screen`,
`tmux`, or over high latency connections.
|
|
|
|
|
|
|
| |
Not all distros have a `realpath` command. Provide a function that uses the
real command if available else use the fish builtin.
Fixes #2932
|
| |
|
|
|
|
|
|
|
| |
set-upstream was deprecated in git 1.8.0 as stated in [1] in favor
of set-upstream-to. this patch replaces the old flag in fish
completions
[1]: https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/1.8.0.txt
|
|
|
|
|
|
|
|
|
| |
- More accurate
- Fast enough to be usable (previously, this would sometimes take a few
seconds)
- A bit smaller
|
|
|
|
| |
As always, we default to setting globally.
|
|
|
|
| |
This wasn't actually used anywhere.
|
|
|
|
| |
This should fix the tests.
|
|
|
|
|
| |
This was never mentioned in the documentation as the way to switch to
vi-mode, and now does nothing of value anymore.
|
|
|
|
|
| |
This ensures they can just be called and "the right thing" will happen -
fish_user_key_bindings will be executed, the variable will reflect the bindings.
|
|
|
|
|
|
|
| |
This makes fish_mode_prompt rely on $fish_key_bindings instead.
fish_bind_mode is also set in default mode (only always "default"), so
it can't be used as the indicator.
|
|
|
|
| |
Fixes #2375
|
| |
|
|
|
|
| |
Fixes #2941.
|
|
|
|
| |
Fixes #2786
|
| |
|