aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* tests: try longer timeout in case setting fish_key_bindings is taking too longGravatar David Adam2015-10-30
|
* Update fish_default_key_bindings.fishGravatar maxried2015-10-29
| | | fish_default_key_bindings.fish comments were wrong. Corrected comment about pagination.
* vi-mode: Make \cb do backward-word againGravatar Fabian Homborg2015-10-28
| | | | This is mentioned in the documentation, so keep it for now.
* vi: Bind \cx to end-of-line in insert modeGravatar Fabian Homborg2015-10-28
| | | | This will also accept any autosuggestion completely.
* Add cargo and rustc completion.Gravatar Bheesham Persaud2015-10-26
| | | | rustc.fish makes heavy use of the `string` commands.
* Add ability to customize the amount of path shortening in prompt_pwdGravatar Gary Peck2015-10-26
| | | | Allows the length of each shortened path component to be customized by setting the `fish_prompt_pwd_dir_length` variable to the number of characters to include (plus a leading dot because that's special). Maintains the default behavior of shortening path components to just one character. You can also set `fish_prompt_pwd_dir_length` to an empty or invalid value or 0 to disable shortening completely.
* Make 'set -ql' search up to function scopeGravatar ridiculousfish2015-10-23
| | | | | | | | | | | | | Previously 'set -ql' would only look for variables in the immediate local scope. This was not very useful. It's also arguably surprising, since a 'set -l' in a function, followed by a 'set -ql' in a child block, would fail. There was also no way to check for a function-scoped variable, since omitting the scope would also pull in global variables. We could revisit this and introduce an explicit function scope. Fixes #2502
* Revert "reader.cpp: send carriage return after printing the window title"Gravatar ridiculousfish2015-10-21
| | | | | This fix introduced #2499 This reverts commit 13479fbc2a130d97caeb66f7f56fb89c6be8c489.
* Switch useradd and chsh to `string`Gravatar Fabian Homborg2015-10-21
|
* fish_complete_subcommand: shadow scope to inherit e.g. $PATHGravatar David Adam2015-10-21
| | | | Closes: #2141.
* Update mix completionGravatar Jan Ernsting2015-10-20
| | | | | | | Among others `mix escriptize` has not been supported since July 2014: https://github.com/elixir-lang/elixir/issues/2468 Also explain what mix is.
* git: Complete subcommands for git submodule foreachGravatar Fabian Homborg2015-10-20
|
* git: Disable submodule subcommand completion if one is already givenGravatar Fabian Homborg2015-10-20
|
* Fix git submodule completionsGravatar Fabian Homborg2015-10-20
| | | | Fixes #2494
* tests/bind.expect: re-enable but at human typing speed onlyGravatar David Adam2015-10-18
| | | | | | | The interactive bind tests work if the keys are treated like there is a human pressing them. This reverts commit 0006d23df82fd10c37acecc5a0fd578afb3be437.
* Disable the bind test for nowGravatar Fabian Homborg2015-10-18
| | | | | | | | | | This isn't pretty, but it fails for, as far as I can see, no _real_ reason. It doesn't seem to be possible to trigger the failure in real usage, no matter how fast you press the ESC key followed by something else. So now this is known and constant travis emails don't help it in any way.
* git completion: Allow branches with "/" in them as unique remote branchesGravatar Fabian Homborg2015-10-16
|
* reader.cpp: send carriage return after printing the window titleGravatar David Adam2015-10-16
| | | | | | | Terminals can get confused by all the non-printed characters about the line position. Closes #2453.
* Fix usage of history_filenameGravatar Jeff Kowalski2015-10-16
|
* Migrate fish_history from config to data dirGravatar Jeff Kowalski2015-10-16
| | | | | | | | | New implementation of migration code within the history_t class will copy the contents of the old fish_history found in the config directory to its new location in the data directory. The old file is left intact. This is done only in the event that a fish_history is not already found in the data directory ($XDG_DATA_HOME/fish or ~/.local/share/fish).
* Correct tests for new location of fish_historyGravatar Jeff Kowalski2015-10-16
| | | | | | | | The fish_history file is now located in the "data" directory ($XDG_DATA_HOME/fish or ~/.local/share/fish), accessible using the function `path_get_data`. (This commit also cleans trailing whitespace in the source file.)
* Access fish_history from $XDG_DATA_HOMEGravatar Jeff Kowalski2015-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new functions path_get_data and path_create_data which parallel existing functions path_get_config and path_create_data. The new functions refer to XDG_DATA_HOME, if it is defined, or ./local/share if not. Modify history_filename to use the new function path_get_data. As a consequence, fish_history will now be located in XDG_DATA_HOME, not XDG_CONFIG_HOME. Note that these changes mirror what is already used in fish-shell/share/tools/create_manpage_completions.py, which stores the completions in XDG_DATA_HOME This change matches recommendations in the xdg basedir spec at http://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html ($XDG_DATA_HOME defines the base directory relative to which user specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.) It addresses suggestions from the following issues: 1. Don't put history in $XDG_CONFIG_HOME (closes #744) https://github.com/fish-shell/fish-shell/issues/744 2. Fish is placing non-config files in $XDG_CONFIG_HOME #1257 https://github.com/fish-shell/fish-shell/issues/1257 3. Move non-config data out of $XDG_CONFIG_HOME #1669 https://github.com/fish-shell/fish-shell/issues/1669
* Revert "prompts: more concise way of getting the hostname."Gravatar David Adam2015-10-16
| | | | | | This reverts commit 233c4436943fb56edf6db44b932221107b37fad1. See discussion in https://github.com/fish-shell/fish-shell/pull/2489
* Makefile: only clean PCRE2 directory if it is configured inGravatar David Adam2015-10-15
|
* Revert "reader.cpp: send smkx/rmkx when entering/leaving interactive mode"Gravatar David Adam2015-10-15
| | | | | | | This reverts commit a66d44054c4aae44c307b10bb10469b4565e5027 due to https://github.com/fish-shell/fish-shell/issues/2406 - entering keypad mode causes various terminals to send undocumented and highly variable escapes for keys not specified in the terminfo specification.
* prompts: more concise way of getting the hostname.Gravatar Michael Fogleman2015-10-15
|
* vi: Make \cf do forward-word again in insert modeGravatar Fabian Homborg2015-10-14
|
* vi: Readd \cx bindingGravatar Fabian Homborg2015-10-14
|
* 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
|