aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
Commit message (Collapse)AuthorAge
* add way to comment/uncomment a commandGravatar Kurtis Rader2016-04-19
| | | | Fixes #2375
* Allow overriding fish_term24bit on launchGravatar Fabian Homborg2016-04-18
|
* Move 24bit setup into config.fishGravatar Fabian Homborg2016-04-18
| | | | Fixes #2941.
* number `dirh` output to make prevd/nextd easierGravatar Kurtis Rader2016-04-16
| | | | Fixes #2786
* Add completions for 'pacaur' (#2934)Gravatar Yauhen Kirylau2016-04-15
|
* provide a better experience when user presses \cCGravatar Kurtis Rader2016-04-14
| | | | Fixes #2904
* Correct typo in valgrind completionsGravatar Laurence McGlashan2016-04-13
|
* Remove the default self-insert binding in vi-default modeGravatar Fabian Homborg2016-04-12
| | | | Fixes #2832.
* Fix "." and ".." paths in cd completionsGravatar Fabian Homborg2016-04-08
| | | | | Previously if a directory called "a" was in $CDPATH, `cd ./a<TAB>` would complete from there even if it was invalid.
* Stringify many completions and functions, with --invert stringification.Gravatar Aaron Gyes2016-04-08
| | | | | | | | I believe apm must have been buggy - example output that I found online showed `tr` was mangling paths with spaces in it. Should be fixed. Also, use dscl on OS X in __fish_complete_users.fish like __fish_print_users.fish already does.
* Rename "snippets" to "conf" internally, and document them as snippetsGravatar David Adam2016-04-06
| | | | Discussed in #2896.
* Customisable extra configuration, completion and function directoriesGravatar David Adam2016-04-04
| | | | | | | | | | | | | | | - Add options to the autotools build to set the path for the "vendor" or "extra" configuration snippets, functions and completions directories. - Remove the vendor_completions directory from the Xcode build, as these are relocatable and compiling the paths in does not make sense. This allows packaging tools like Homebrew and Nix to use a common directory outside of the main prefix for third-party completions, and to make these available for programmatic discovery through `pkg-config`. Closes #2113
* cd completion: No description for absolute pathsGravatar Fabian Homborg2016-04-04
| | | | | This also removes the "pushd/popd" dance and only executes the CDPATH stuff when we need to.
* __fish_print_packages: use libzypp builtin cache for zypperGravatar Sam Yu2016-03-30
|
* Add history --helpGravatar Fabian Homborg2016-03-30
| | | | This was probably an oversight - the builtin supports it, the function doesn't.
* more fish_indent cleanup for prev commitGravatar Kurtis Rader2016-03-29
| | | | | Commit dfb23c4fce11d9d0577a2cb3c9e192bc24f64c8c was supposed to incude all the edits to make the code compliant with fish_indent.
* fix regression to vi-mode \cc bindingGravatar Kurtis Rader2016-03-29
| | | | | | | Commit c0e8ad6 on 2015-10-02 to "Make vi bindings inherit the defaults" inadvertently reverted commit b6b6de3. Fix that regression. And while I hate to make "git blame" say I changed the entire file make the function adhere to fish_indent style.
* Make modprobe completion more preciseGravatar Josef Gajdusek2016-03-28
| | | | | | | | Only match loaded modules when -r is specified. Also adds /lib/modules/(uname -r)/misc to the search path. This directory is used by Gentoo for package-provided modules (such as the app-emulation/virtualbox-modules)
* Fix typos: ingnore->ignoreGravatar Josef Gajdusek2016-03-28
|
* Only read .fish files in the snippets directoriesGravatar Fabian Homborg2016-03-26
| | | | | This would allow us to add a README and allows users to easily disable something temporarily.
* add yaourt completionsGravatar Bogdan Sinitsyn2016-03-24
|
* limit size of cd history to 25 directoriesGravatar Kurtis Rader2016-03-23
| | | | | | | | | | | | | | | The existing implementation grows the $dirprev array without bounds. Besides causing what would appear to be a memory leak it also makes the nextd and prevd commands more expensive than they need to be. It also makes it harder to create a useful "menu" cd command. In addition to implementing a reasonable limit on the size of the $dirprev array I've reformatted the code using fish_indent. Update the documentation to include mentions of the $dirprev and $dirnext variables as well as the limit on how much directory history is kept. Fixes 2836
* Make reading ssh files case-insensitiveGravatar Fabian Homborg2016-03-22
| | | | Fixes #2843
* implement swap-selection-start-stop functionGravatar Federico Ferri2016-03-20
| | | | | | | | | The swap-selection-start-stop function goes to the other end of the highlighted text, the equivalent of `o' for vim visual mode. Add binding to the swap-selection-start-stop function, `o' when in visual mode. Document swap-selection-start-stop, begin-selection, end-selection, kill-selection.
* fix w, e (with a trick to cope with big-words)Gravatar Federico Ferri2016-03-20
|
* add \r equivalent bindingGravatar Kurtis Rader2016-03-20
| | | | | | | Add a binding that was overlooked by commit d65c63322ef52443b372c3c49dbd3584596fed6b. Fixes #2834
* Add `--no-index` option completion for `git diff`Gravatar Cody Frazer2016-03-20
|
* Fix acpi check in nim promptGravatar Fabian Homborg2016-03-20
|
* robbyrussell prompt: Check for git/hg existenceGravatar Fabian Homborg2016-03-20
| | | | Fixes #2826
* make alt-L output respect multi-line promptsGravatar Owen Richardson2016-03-18
| | | | Fixes #718
* date and uniq completions for OS X.Gravatar lordlycastle2016-03-12
|
* Move code in etc/config.fish to share/config.fishGravatar Fabian Homborg2016-03-09
| | | | | | | instead add a bit of information on how fish's configuration works for the admin to etc/config.fish. This means that fish is fully functional without /etc, which might be nice for "stateless" systems.
* Update dpkg completions to complete commonly used optionsGravatar David Adam2016-03-06
| | | | Closes #2798.
* Remove "w/o Background Color" text from Set Theme button in fish_configGravatar ridiculousfish2016-03-02
| | | | | This is important information but the Set button is the wrong place to put it.
* Migrate abbrs from =-separated to space-separatedGravatar Fabian Homborg2016-03-02
| | | | | | | | | We silently upgrade existing abbreviations and change the separator when saving. This does not yet warn when the user is using the old syntax. Resolves #2051
* Check ssh's KnownhostsFiles in print_hostnamesGravatar Fabian Homborg2016-03-02
| | | | | | | | These are an additional source of information Thanks to @sysbot (#2313) for the inspiration. This also stringifies the ssh_config reading
* print_hostname: Avoid matches in fstab comments harderGravatar Fabian Homborg2016-03-02
|
* Stringify reading nfs in print_hostnamesGravatar Fabian Homborg2016-03-02
|
* Ignore zero-ips in print_hostnamesGravatar Fabian Homborg2016-03-02
| | | | This would be a lot of useless options for those who block via hosts.
* history.fish: Fix input handlingGravatar Jaime Marquínez Ferrándiz2016-03-02
| | | | Pass the input to 'string', it was accidentally removed in fcdc6a48c0bbdc796975db8d0b7f32434d86d249.
* Ditch __fish_sgrep in obnam completionsGravatar Fabian Homborg2016-02-28
|
* Use command which in typeGravatar Fabian Homborg2016-02-28
| | | | | | | | Turns out some shells will alias which to be something function-aware, but doing this on fish would blow up because it would call type which would then call which which would then call type.... Fixes #2775
* Rewrite __fish_urlencode to not encode valid charactersGravatar Kevin Ballard2016-02-27
| | | | | | Much better to only encode the characters that are not URL-safe. This also doesn't involve any forking, and it even handles newlines and NULs in the input.
* Skip over /etc/paths.d entries that don't existGravatar Kevin Ballard2016-02-26
| | | | | | I had an old /etc/paths.d/TeX file that listed a path /usr/texbin that doesn't exist anymore. This was causing the `set PATH` to print a warning.
* Standardize indentation in config.fishGravatar Kevin Ballard2016-02-26
|
* Add functions and configuration snippets hierarchyGravatar Fabian Homborg2016-02-26
| | | | | | | | | | | | This allows "vendors" (i.e. third-party upstreams interested in supporting fish) to add auto-loaded functions and eager-loaded configuration "snippets", while still allowing both the user and the administrator to fully override all of that. This has been inspired by systemd's configuration hierarchy, and implements a similar scheme whereby files with the same name in higher-ranking directories override files in lower-ranking ones. Fixes #1956
* add completions for diskutil (osx)Gravatar Fabian Weisshaar2016-02-23
|
* Try to just see if grep is happy with --color=auto, or not, as the --help ↵Gravatar Aaron Gyes2016-02-20
| | | | exit status varies in BSD vs. GNU.
* Fix the file URL for Terminal.appGravatar Jak Wings2016-02-16
| | | | | | | * When using a UTF-8 locale, set locale to C temporarily in order to read one byte at a time. * Use the builtin printf in a forward-compatible way. (GNU) * Improve the readability of the code.
* Correctly handle --merge in the history.fish functionGravatar ridiculousfish2016-02-16
| | | | | Previously --merge happened to work, but only because it was smuggled in through the 'print' command