| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
|
|
|
|
|
| |
For cygwin, you can't `cd C:`, so a prompt of "C:/Something" is
misleading.
For OSX, we dereference symlinks elsewhere
This also simplifies prompt_pwd quite a bit.
|
|
|
|
| |
Closes #2443.
|
| |
|
|
|
|
|
| |
Leak checking is disabled for now as it has the potential to produce too
many false positives.
|
|
|
|
|
| |
Fixes a case where a --wraps declaration would be missed
because the function would not be loaded. Fixes #2466.
|
|
|
|
| |
Fixes #2465
|
|
|
|
| |
Fixes #2464. Credit to zanchey for reporting it and ASAN for finding it!
|
|
|
|
|
|
|
| |
Instead of duplicating the script invocation across targets,
put it into a separate target and add dependencies. This also
requires moving its output into the SHARED_DERIVED_FILE_DIR
(which may be undocumented)?
|
|
|
|
|
|
|
|
|
|
|
| |
This no longer uses "eval" (which is scary), and is a bit shorter (which
is nice).
Fixes #2299
Fixes #952
Improves #2300
Improves #562
|
| |
|
|
|
|
|
|
|
|
| |
Not for _everything_ because that causes too many options to be
generated (which is an issue for git as it is), but for modified, staged
and added files - which is where it is most useful.
Fixes #901 as far as I'm concerned.
|
|
|
|
| |
Also indent with fish_indent
|
|
|
|
| |
Add completions for rotating and swapping the stack.
|
| |
|
|
|
|
| |
This also removes a hack that's not needed anymore
|
|
|
|
| |
I have no clue why this used eval.
|
|
|
|
| |
This is almost trivial to do with builtins.
|
| |
|
|
|
|
| |
Eliminates a bit of __fish_sgrep
|
|
|
|
| |
Now only one fork (uname) occurs on first load.
|
|
|
|
|
| |
When expanding an executable with $PATH, don't attempt to
interpret the directories in PATH as fuzzy matching. Fixes #2413.
|
|
|
|
| |
Work on #2446
|
|
|
|
|
|
|
| |
This fixes building on platforms such as Android
which lacks <spawn.h>.
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
|
| |
|
|
|
|
|
| |
From
http://docs.travis-ci.com/user/migrating-from-legacy/
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
git has options that can appear before commands, but not all of
them, and some of them need an argument. This means
`__fish_seen_subcommand_from` will give too many false-positives, while
`[ (count $cmd) -eq 2 ]` will give too many false-negatives.
Instead go through all arguments and check if they are in that list of
options that can be before a command and skip the argument for them, if
any.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Teach Xcode to run new script xcode_version_gen.sh before building
the fish_shell and fish_indent targets. The script generates file
fish-build-version.h for inclusion by fish_version.cpp.
Note that Xcode always runs the script because of the phony target
named force-fish-build-version.h, but fish-build-version.h is only
touched if the contents of FISH-BUILD-VERSION-FILE change.
Fixes #890
|
|
|
|
|
|
|
|
|
| |
This is to the benefit of systems with ancient GNU sed, which does not
recognize "-E", but only "-r".
Fixes #2305 - even if it doesn't replace all `sed -E` invocations in the
codebase, the others are unlikely to occur on CentOS and other similarly
crusty systems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`__fish_apm_using_command` was incorrectly taking lists of commands, new function added to support multiple a command having synonyms.
Simplify switch statement
Also remove superfluous function.
Allow for multiple completions after a command
Useful for removing packages, will complete for more than one.
Code improvements
|
| |
|
| |
|
|
|
|
| |
Also fixes bug related to repo listings
|
| |
|
|
|
|
|
| |
When ascending out of a directory, we need to clear the directory
from the visited set. Fixes #2414.
|
|
|
|
| |
Fixes the wrong sense in a waccess test.
|
|
|
|
|
|
|
|
|
| |
`sort -u | uniq` is completely redundant, calling grep for every
status-pair is unnecessary, `contains` doesn't take the word "in" as
special.
None of these are critical and there's basically no performance benefit
since this function is utterly dominated by hg calls.
|
|
|
|
|
|
| |
This doesn't add anything except slowing the function down by about
33%. Checking for a branch is just as good and that is displayed in the
prompt anyway.
|
| |
|
| |
|
|
|
|
| |
Fixes #2176
|
|
|
|
|
|
| |
Allows fish and pcre2 project to both find the header,
without their respective config.h files interfering with
each other.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit 33c7c4df307b144652d6d842472aa843cc6a5420
Author: Ian Ray <ianjray@me.com>
Date: Sat Sep 26 21:28:50 2015 +0300
Fix xcode include paths for pcre2.h
commit 03d255a3e5e2e9b109c0bc6789ffa431381b6cb3
Author: Ian Ray <ianjray@me.com>
Date: Sat Sep 26 21:02:42 2015 +0300
Fix xcode include paths for pcre2.h
|
|
|
|
| |
Really fixes the Xcode build
|
|
|
|
| |
Fixes the Xcode build
|
| |
|
| |
|
| |
|
|
|
|
|
| |
According to the newer code below:
xdg_data_home = os.getenv('XDG_DATA_HOME', '~/.local/share')
the actual default path is ~/.local/share/fish/generated_completions/
|