aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Make vi bindings inherit the defaultsGravatar Fabian Homborg2015-10-13
| | | | | | | | | | | This reduces code duplication and adds some previously unavailable bindings that don't quite _violate_ the vi-principle (like prevd-or-backward-word on alt-left) and matches other "impure" bindings like \cf for forward-word (a quite emacs-ish binding) we already have. Fixes #2412 Fixes #2472 Fixes #2255
* Add BSD specific arguments for tr command completionGravatar buo2015-10-13
|
* Also send konsole cursor sequence for iTerm2Gravatar Fabian Homborg2015-10-13
| | | | Fixes #1403
* Make fish_vi_cursor check $TERM or use argumentGravatar Matt Steedman2015-10-13
| | | | Fixes #2475
* New pt_BR translations - 25%Gravatar Fábio Nogueira2015-10-12
|
* export: Fix replacingGravatar Fabian Homborg2015-10-12
| | | | Also run it through fish_indent
* Removed misleading space in stderr redirection exampleGravatar Ashok2015-10-11
|
* Fix pushd completions in the -n caseGravatar Fabian Homborg2015-10-09
|
* Remove OSX/Cygwin special cases from prompt_pwdGravatar Fabian Homborg2015-10-09
| | | | | | | | | 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.
* functions/man.fish: add fish into MANPATH even if it is already setGravatar David Adam2015-10-09
| | | | Closes #2443.
* tests/string.in: add tests for string builtinGravatar David Adam2015-10-09
|
* travis: add OS X build, add AddressSanitizer build, stop building docsGravatar David Adam2015-10-08
| | | | | Leak checking is disabled for now as it has the potential to produce too many false positives.
* When autoloading a completion, also autoload the functionGravatar ridiculousfish2015-10-07
| | | | | Fixes a case where a --wraps declaration would be missed because the function would not be loaded. Fixes #2466.
* Remove errant slash from the end of cd completionsGravatar ridiculousfish2015-10-07
| | | | Fixes #2465
* Fix a dereference-past-the-end bug in read_redirection_or_fd_pipeGravatar ridiculousfish2015-10-07
| | | | Fixes #2464. Credit to zanchey for reporting it and ASAN for finding it!
* Factor running the xcode_version_gen.shGravatar ridiculousfish2015-10-07
| | | | | | | 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)?
* Rewrite __fish_complete_cdGravatar Fabian Homborg2015-10-07
| | | | | | | | | | | This no longer uses "eval" (which is scary), and is a bit shorter (which is nice). Fixes #2299 Fixes #952 Improves #2300 Improves #562
* Add missing \n to pushd completionsGravatar Fabian Homborg2015-10-07
|
* git completion: Complete files relative to repo-rootGravatar Fabian Homborg2015-10-06
| | | | | | | | 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.
* Add pushd -n to completions, use `string`Gravatar Fabian Homborg2015-10-05
| | | | Also indent with fish_indent
* Improve pushd completionsGravatar Derek Harland2015-10-05
| | | | Add completions for rotating and swapping the stack.
* Remove ls|__fish_sgrep from apt-proxy-importGravatar Fabian Homborg2015-10-04
|
* Move make completion to `string`Gravatar Fabian Homborg2015-10-04
| | | | This also removes a hack that's not needed anymore
* Move python comp away from eval and sedGravatar Fabian Homborg2015-10-04
| | | | I have no clue why this used eval.
* Move apt-show-versions away from `ls|__fish_sgrep`Gravatar Fabian Homborg2015-10-04
| | | | This is almost trivial to do with builtins.
* Move setfacl completions to `string`Gravatar Fabian Homborg2015-10-04
|
* Bring aura completions in line with pacmanGravatar Fabian Homborg2015-10-04
| | | | Eliminates a bit of __fish_sgrep
* prompt_pwd: zero fork prompt in general caseGravatar Ian Ray2015-10-04
| | | | Now only one fork (uname) occurs on first load.
* Don't do intermediate fuzzy directory matching with $PATHGravatar ridiculousfish2015-10-03
| | | | | When expanding an executable with $PATH, don't attempt to interpret the directories in PATH as fuzzy matching. Fixes #2413.
* Makefile: improve integration with pcre2 buildGravatar David Adam2015-10-02
| | | | Work on #2446
* Only include <spawn.h> if HAVE_SPAWN_HGravatar Fredrik Fornwall2015-10-02
| | | | | | | This fixes building on platforms such as Android which lacks <spawn.h>. Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
* configure/Makefile: allow the use of a system libpcre2 if availableGravatar David Adam2015-10-01
|
* travis: drop all use of sudo and root-owned directoriesGravatar David Adam2015-10-01
| | | | | From http://docs.travis-ci.com/user/migrating-from-legacy/
* travis: move to container-based buildsGravatar David Adam2015-10-01
|
* git completion: Bring needs_command in line with gitGravatar Fabian Homborg2015-09-30
| | | | | | | | | | | 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.
* Generate version numbers for Xcode buildsGravatar Ian Ray2015-09-29
| | | | | | | | | | | | 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
* Replace `sed -E` with `string replace`Gravatar Fabian Homborg2015-09-28
| | | | | | | | | 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.
* Fix of multiple synonyms for apm commandGravatar Dan Underwood2015-09-28
| | | | | | | | | | | | | | `__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
* machinectl: Add "shell" subcommandGravatar Fabian Homborg2015-09-28
|
* Normalize cabal* completionGravatar Fabian Homborg2015-09-28
|
* Normalize aura completionsGravatar Fabian Homborg2015-09-28
| | | | Also fixes bug related to repo listings
* Fix a typoGravatar ridiculousfish2015-09-27
|
* Fix for recursive wildcard expansion ignoring directoriesGravatar ridiculousfish2015-09-27
| | | | | When ascending out of a directory, we need to clear the directory from the visited set. Fixes #2414.
* Trailing slashes in wildcards need to match directoriesGravatar ridiculousfish2015-09-27
| | | | Fixes the wrong sense in a waccess test.
* __fish_hg_prompt: Clean up a bitGravatar Fabian Homborg2015-09-27
| | | | | | | | | `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.
* __fish_hg_prompt: Remove explicit root check againGravatar Fabian Homborg2015-09-27
| | | | | | 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.
* Fix completion for totemGravatar Jan Ernsting2015-09-27
|
* math: Avoid calling `env`Gravatar Fabian Homborg2015-09-27
|
* Maintain ownership when rewriting universal variables fileGravatar ridiculousfish2015-09-26
| | | | Fixes #2176
* Move OS X pcre2.h into a new directory shared_headersGravatar ridiculousfish2015-09-26
| | | | | | Allows fish and pcre2 project to both find the header, without their respective config.h files interfering with each other.