| 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`
|
| |
|
|
|
|
|
|
| |
"$fcn"
[ci skip]
|
|
|
|
| |
create_manpage_completions.py
|
| |
|
| |
|
|
|
|
| |
If one is given, of course.
|
| |
|
|
|
|
|
| |
Git has supported `rev-list --count` for years, so this shouldn't be
needed anymore.
|
| |
|
|
|
|
|
|
| |
These are the options between `git` and the subcommand.
Fixes #3087.
|
|
|
|
| |
Possibly fixes #3083.
|
|
|
|
|
|
|
|
|
|
|
| |
This speeds up the common case when IO is slow, e.g. when used with
sshfs.
We only use the short sha for figuring out whether the state is
valid (for which a long sha should also work) and for display when HEAD
is detached (I think that's the correct git-ism).
Working towards #3083.
|
|
|
|
|
| |
Now we try to remove the file and then the directory, without forcing
anything, showing any (quite unexpected) error to the user, once.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
\cy copies, \cv pastes.
|
|
|
|
|
|
| |
This will now only forcibly remove _files_, not directories.
$tmpdir _should_ be something only we use in /tmp, but mktemp might screw up.
|
|
|
| |
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).
|
|
|
|
| |
We actually need less duplication here.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This now (rightly) throws an error if there's a space in the
key (because we can't store it).
Fixes #2997.
|
|
|
|
| |
OSX mktemp... isn't great, so work around that fact.
|
|
|
|
|
|
| |
This potentially leads to an unusable session (when fish_key_bindings is
set in config.fish to a value without corresponding function), so we
should take care.
|
| |
|
|
|
|
| |
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`.
|
| |
|