| Commit message (Collapse) | Author | Age |
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
This would be a lot of useless options for those who block via hosts.
|
|
|
|
| |
Pass the input to 'string', it was accidentally removed in fcdc6a48c0bbdc796975db8d0b7f32434d86d249.
|
| |
|
|
|
|
|
|
|
|
| |
Turns out some shells will alias which to be something function-aware,
but doing this on fish would blow up because it would call type which
would then call which which would then call type....
Fixes #2775
|
|
|
|
|
|
| |
Much better to only encode the characters that are not URL-safe. This
also doesn't involve any forking, and it even handles newlines and NULs
in the input.
|
|
|
|
|
|
| |
I had an old /etc/paths.d/TeX file that listed a path /usr/texbin that
doesn't exist anymore. This was causing the `set PATH` to print a
warning.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows "vendors" (i.e. third-party upstreams interested in
supporting fish) to add auto-loaded functions and eager-loaded
configuration "snippets", while still allowing both the user and the administrator to
fully override all of that.
This has been inspired by systemd's configuration hierarchy, and implements a similar scheme
whereby files with the same name in higher-ranking directories override files in lower-ranking ones.
Fixes #1956
|
| |
|
|
|
|
| |
exit status varies in BSD vs. GNU.
|
|
|
|
|
|
|
| |
* When using a UTF-8 locale, set locale to C temporarily in order to
read one byte at a time.
* Use the builtin printf in a forward-compatible way. (GNU)
* Improve the readability of the code.
|
|
|
|
|
| |
Previously --merge happened to work, but only because it was
smuggled in through the 'print' command
|
| |
|
| |
|
|
|
|
| |
Patch from `__make_users_completions` of killall command completion
|
|
|
|
| |
`dscl` command have OSX system, to change `__fish_print_users`
|
|
|
|
|
| |
This speeds up adding new abbrs by about 50 to 60% - from 2.3s to 1s for
100 abbrs.
|
|
|
|
|
| |
This speeds up the common case of `abbr -a` calls in config.fish by
about 90% - from 900ms to 90ms for 100 calls.
|
|
|
|
|
|
|
| |
Fixes the invocation of a user-specified browser by the `help` command on Cygwin.
- Use `cygstart` to launch the browser with escaped quotes to avoid problems with spaces in the path to the browser, (e.g. Program Files).
- Use `cygpath` to convert the base help dir to a Windows path before constructing the fie URL to pass to the browser.
|
|
|
|
|
| |
-E is only supported by BSD sed, switch to -r which is also supported
by GNU sed
|
|
|
|
| |
It's a bit more explicit than replace.
|
|
|
|
|
| |
Turns out we can skip using string altogether, thanks to the magic of
the cartesian product.
|