| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Fixes #2904
|
| |
|
|
|
|
| |
Fixes #2832.
|
|
|
|
|
| |
Previously if a directory called "a" was in $CDPATH, `cd ./a<TAB>` would
complete from there even if it was invalid.
|
|
|
|
|
|
|
|
| |
I believe apm must have been buggy - example output that I found online
showed `tr` was mangling paths with spaces in it. Should be fixed.
Also, use dscl on OS X in __fish_complete_users.fish like
__fish_print_users.fish already does.
|
|
|
|
| |
Discussed in #2896.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
This also removes the "pushd/popd" dance and only executes the CDPATH
stuff when we need to.
|
| |
|
|
|
|
| |
This was probably an oversight - the builtin supports it, the function doesn't.
|
|
|
|
|
| |
Commit dfb23c4fce11d9d0577a2cb3c9e192bc24f64c8c was supposed to incude
all the edits to make the code compliant with fish_indent.
|
|
|
|
|
|
|
| |
Commit c0e8ad6 on 2015-10-02 to "Make vi bindings inherit the defaults"
inadvertently reverted commit b6b6de3. Fix that regression. And while I
hate to make "git blame" say I changed the entire file make the function
adhere to fish_indent style.
|
|
|
|
|
|
|
|
| |
Only match loaded modules when -r is specified.
Also adds /lib/modules/(uname -r)/misc to the search path.
This directory is used by Gentoo for package-provided modules
(such as the app-emulation/virtualbox-modules)
|
| |
|
|
|
|
|
| |
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
|
|
|
|
| |
Fixes #2843
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
Add a binding that was overlooked by commit
d65c63322ef52443b372c3c49dbd3584596fed6b.
Fixes #2834
|
| |
|
| |
|
|
|
|
| |
Fixes #2826
|
|
|
|
| |
Fixes #718
|
| |
|
|
|
|
|
|
|
| |
instead add a bit of information on how fish's configuration works for
the admin to etc/config.fish.
This means that fish is fully functional without /etc, which might be nice for "stateless" systems.
|
|
|
|
| |
Closes #2798.
|
|
|
|
|
| |
This is important information but the Set button is the wrong place to
put it.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
These are an additional source of information
Thanks to @sysbot (#2313) for the inspiration.
This also stringifies the ssh_config reading
|