| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
| |
This allows us to run git commands outside of a git repo.
Fixes #3114.
|
| |
|
|
|
| |
Completion throws and error about the command `__fish_contains_opts` beings unknown. It seems to be a simple typo, as all other completions use `__fish_contains_opt`
|
| |
|
| |
|
|
|
|
|
|
| |
These are the options between `git` and the subcommand.
Fixes #3087.
|
|
|
|
|
|
| |
The __fish_complete_blockdevice function can be useful to other
completions than mount.fish, so it should live on its own so its
available to those.
|
| |
|
|
|
| |
Move to `string match` syntax from `grep` caused test to see if the Atom Package Manager is installed to always fail. This appears to fix the issue (tested on fish 2.3.0 with apm 1.6.0).
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It doesn't take options and what it takes (arbitrary strings) we can't
sensibly complete.
|
|
|
|
|
|
| |
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)
|
|
|
| |
`git --help` is a valid command and fish should complete it as such
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes #2798.
|
| |
|
| |
|
|
|
|
| |
`dscl` command have OSX system, to change `__fish_print_users`
|
|
|
|
|
| |
Turns out we can skip using string altogether, thanks to the magic of
the cartesian product.
|
|
|
|
|
| |
The version with the features we use isn't in gentoo stable yet and
older versions print a very ugly warning.
|
|
|
|
| |
refs #1131
|