aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
...
* 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.
* Squashed commit of the following:Gravatar Ian Ray2015-09-26
| | | | | | | | | | | | | | 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
* Add osx/pcre2/config.h which I forgot to check in tooGravatar ridiculousfish2015-09-26
| | | | Really fixes the Xcode build
* Add osx/pcre2.h which I forgot to check inGravatar ridiculousfish2015-09-26
| | | | Fixes the Xcode build
* __fish_hg_prompt: Only show current bookmarkGravatar Fabian Homborg2015-09-26
|
* __fish_hg_prompt: Add bookmark supportGravatar Fabian Homborg2015-09-26
|
* __fish_hg_prompt: Bail early if not in a hg repoGravatar Fabian Homborg2015-09-26
|
* Correct the comment on the default pathGravatar Wonicon2015-09-26
| | | | | 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/
* Normalize ls completions and bring them up-to-dateGravatar Fabian Homborg2015-09-26
| | | | | | | This adds the --group-directories-first option for GNU ls and fixes a typo in --block-size (not --blocksize). Fixes #2425.
* Preserve existing file permissions when rewriting a history fileGravatar ridiculousfish2015-09-26
| | | | Fixes #2335
* Teach builtin_string to recognize redirections, not just pipesGravatar ridiculousfish2015-09-25
| | | | | Allows cases like `string split \n < file.txt` to work. Fixes 2422
* Introduce __fish_print_pacman_repos helperGravatar Fabian Homborg2015-09-25
| | | | | | | This is used in at least 4 places, all of which have a bug in that they print "options" as a valid repo. It seems better to fix it once, especially given that there are tons of AUR helpers and pacman wrappers, all of which might need this info.
* Prefix errors with 'string:', not 'string string:'Gravatar Michael Steed2015-09-24
|
* Upgrade Xcode build to Xcode 7Gravatar ridiculousfish2015-09-24
|
* Merge remote-tracking branch 'refs/remotes/faho/net-tools' into net-toolsGravatar Fabian Homborg2015-09-24
|\
* | __fish_print_{addresses,interaces}: Better OSX/BSDGravatar Fabian Homborg2015-09-24
| |
* | __fish_print_{addresses,interfaces}: Add alternative to net_toolsGravatar Fabian Homborg2015-09-24
| | | | | | | | | | | | | | | | | | | | | | net_tools, which provides `ifconfig` and `netstat`, among other things, has last been updated in 2013. This means `ifconfig` on linux is basically dead. Instead of ifconfig, use `ip` (from iproute2), which is much more powerful and provides a much more annoying commandline syntax. Instead of netstat, just look at /sys/class/net.
* | export: Enable values with "=" in themGravatar Fabian Homborg2015-09-24
| | | | | | | | | | | | Only split on the first "=" to achieve this. Closes #2403
* | Fix vi* completionsGravatar Fabian Homborg2015-09-23
| | | | | | | | I forgot a "-c".
* | Fix aliases with whitespaceGravatar Fabian Homborg2015-09-23
| | | | | | | | | | | | | | | | And document how that stuff works. Fixes #2220 Also, the string stuff is cool.
* | Refactor *vi* completions, add nvim wrapperGravatar Fabian Homborg2015-09-23
| | | | | | | | | | | | | | This assumes `vim` is always vim (or close enough, nvim should also work), while `vi` could be either. Fixes #2416
* | Eliminate global variables associated with builtin IOGravatar ridiculousfish2015-09-22
| | | | | | | | | | | | | | This change eliminates global variables like stdout_buffer. Instead we wrap up the IO information into a new struct io_streams_t, and thread that through every builtin. This makes the intent clearer, gives us a place to hang new IO data, and eliminates the ugly global state management like builtin_push_io.
* | git completion: Describe aliases with their definitionsGravatar Fabian Homborg2015-09-22
| | | | | | | | I could have sworn we had this already.