aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
Commit message (Collapse)AuthorAge
* 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.
* 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
* git completion: Allow branches with "/" in them as unique remote branchesGravatar Fabian Homborg2015-10-16
|
* 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
* 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
* export: Fix replacingGravatar Fabian Homborg2015-10-12
| | | | Also run it through fish_indent
* 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.
* Remove errant slash from the end of cd completionsGravatar ridiculousfish2015-10-07
| | | | Fixes #2465
* 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.
* 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.
* 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
* __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
|
* __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.
* 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.
* __fish_print_{addresses,interaces}: Better OSX/BSDGravatar Fabian Homborg2015-09-24
|