aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions
Commit message (Collapse)AuthorAge
* Added color.h, color.cpp. Got term256 colors working.Gravatar ridiculousfish2012-02-12
|
* Added autosuggestion color variable fish_color_autosuggestionGravatar ridiculousfish2012-02-06
| | | | Fixed that nasty bug where fish would apply a color to both the foreground and background (yuck)
* Merge commit 'refs/merge-requests/12' of ↵Gravatar Grissiom2011-07-28
|\ | | | | | | git://gitorious.org/fish-shell/fish-shell into merge-requests/12
| * still didn't work correctly, there were delimiters missing in the ↵Gravatar Andreas Raster2011-06-24
| | | | | | | | conditional as well
| * last commits fix now also applied in the 'else' clauseGravatar Andreas Raster2011-06-21
| |
| * fixed an issue when trying to complete something like 'cd ↵Gravatar Andreas Raster2011-06-21
| | | | | | | | | | | | | | /mnt/windows7/Program\ Files\ \(' fish would always spew a huge error message all over my terminal complaining about some kind of tokenizer error, this patch fixed that
* | Change git-symbolic-ref to git symbolic-ref.Gravatar Shaun Reich2011-06-19
|/ | | | | | | On my system at least (fedora 15), git-symbolic-ref is an invalid command. Not sure if it's a BIC change from git itself, a distribution thing, or a mistake on my end. Either way, no harm in using the extended version. Now I get git branch status (yay).
* Merge commit 'refs/merge-requests/8' of ↵Gravatar Christopher Nilsson2011-01-11
|\ | | | | | | git://gitorious.org/fish-shell/fish-shell into merge_request_8
| * Use eix instead of emerge when possibleGravatar James Bowlin2010-12-02
| | | | | | | | | | | | | | | | | | On Gentoo the eix program is MUCH faster than emerge for listing package names. I've left the emerge code in as a 2nd choice because not every Gentoo system has eix installed (although they should). Also, the emerge code didn't seem to produce any output on my system. Signed-off-by: Grissiom <chaos.proton@gmail.com>
| * funcsave: Fixed error and help handling.Gravatar Dylan Smith2010-12-02
| | | | | | | | | | | | Renamed references to the previous command name of save_function to funcsave, and returned an error after printing the help text when no arguments are specified.
| * default_key_bindings: Added mappings for ctrl-arrow keys.Gravatar Dylan Smith2010-12-02
| | | | | | | | | | On debian and ubuntu these control sequences are output while using gnome-terminal and xterm.
* | Merge commit 'refs/merge-requests/6' of ↵Gravatar Christopher Nilsson2010-11-24
|\| | | | | | | git://gitorious.org/fish-shell/fish-shell into merge_req_6
| * Allow fish_greeting to be NULL or an arrayGravatar James Vega2010-11-24
| | | | | | | | | | | | | | | | | | | | | | Treat fish_greeting as a whole when show up the greeting messages. And the user may want to set fish_greeting to an null value or an array. This requires that the variable be quoted when used as an argument for switch in __fish_config_interactive. Signed-off-by: James Vega <jamessan@debian.org> [modified the commit message] Signed-off-by: Grissiom <chaos.proton@gmail.com>
| * help.fish: Fix the sed expression to find anchors with id or nameGravatar Dylan Smith2010-11-23
| | | | | | | | | | | | | | | | | | | | | | Previously the expression only searched for anchors with a name attribute, but doxygen 1.7.1 is producing anchors with the id attribute instead. The sed expression allows both cases for compatibility. I also used single quotes for the sed expression to avoid escaping double quotes. Signed-off-by: Grissiom <chaos.proton@gmail.com>
| * eval: (eval false) should return an error statusGravatar Dylan Smith2010-11-22
| | | | | | | | | | | | | | | | This also caused (isatty < /dev/null) to return 0 since it uses eval, and (ls | cat) to output using the classify indicator style since it uses isatty. This is how I found the bug. Reviewed-by: Grissiom <chaos.proton@gmail.com>
* | Merged changes from codemonkey and grissiom branchesGravatar Christopher Nilsson2010-11-12
|\| | | | | | | | | | | Conflicts: kill.c seq.in
* | The grep on the commands would sometimes output errors, causing noise andGravatar David Frascone2010-11-05
| | | | | | | | breaking scripts.
| * call original grep in sgrepGravatar Grissiom2010-09-19
| | | | | | | | | | functions/grep.fish will set the GREP_OPTIONS, which will ruin sgrep's effort.
| * remove trialing spaces #2Gravatar Grissiom2010-09-18
| |
| * Fix cd prompt fail on the case that CDPATH have variablesGravatar Grissiom2010-09-17
|/
* prompt_pwd broken, this fix by James ReevesGravatar axel2009-02-21
| | | | darcs-hash:20090221104759-ac50b-35f7a896d3e62cd002605d47c090c7bec992317b.gz
* Make xdg-version of open handle multiple files.Gravatar axel2009-02-17
| | | | darcs-hash:20090216211103-ac50b-f8268e8d50a84457bb49ac3d1e982cba09dbfec6.gz
* Add possibility to define greeting function, suggested by Chris MillerGravatar axel2009-02-17
| | | | darcs-hash:20090216210450-ac50b-9b4f7c5bf45afaf21d51e46ff8c2b11d171fcbf2.gz
* This patch fixes a problem where prompt_pwd was printing the full path twice ↵Gravatar Nick Pilon2008-01-23
| | | | | | under OS X and probably BSDs. (Which, needless to say, made for very long prompts) The problem was that (Free?)BSD sed and GNU sed handle ? differently. For BSD sed, ? is not special unless the -E flag is specified. The {0,1} syntax should work the same way in both. darcs-hash:20080122180340-5b666-21f1cdb835cbfa458a0f3d7344370837db962388.gz
* adds completion for Debian's invoke-rc.d commandGravatar terceiro2009-02-05
| | | | | | Ignore-this: f9ff385e3c239cedfbc9850b06822bba darcs-hash:20090204191757-69c1e-a55c2a720fd784c7be2534feacecd5e2ebdbeecd.gz
* function to put current git branch on the fish promptGravatar terceiro2009-02-05
| | | | | | Ignore-this: 841402742571f399e012514315b8e4f0 darcs-hash:20090204190358-69c1e-2ebcf761a4e55bc049ff1d5bba272d722b2d4501.gz
* fix help for `open`Gravatar Isaac Dupree2008-06-06
| | | | darcs-hash:20080605192305-6c1c4-ccf59a87bf7197b5d07a33d7aaeb31638aa0aa52.gz
* ish's current hostname completion uses ~/.ssh/known_hosts as one of its ↵Gravatar axel2009-02-03
| | | | | | sources of information, but ~/.ssh/config may also be useful. Gather all of the 'Host' declarations from ~/.ssh/config and filter out the ones with wildcards. Signed-off-by: James Vega <jamessan@debian.org> darcs-hash:20090202210242-ac50b-cf50070ee33ab6113e32a4d997d464ac4b1faf24.gz
* Add support for completing aliases in ssh. Written by David Bronke.Gravatar axel2009-02-02
| | | | darcs-hash:20090201231805-ac50b-196d4c81981efe681677fe8ca7f1cc833a4734da.gz
* Fix color ls detection for BSD and OS X systems. Patch by Sven Axelsson.Gravatar axel2009-02-02
| | | | darcs-hash:20090201222410-ac50b-e1e02244ae950c602d3b7e67fe567920c619024b.gz
* Fix cd function to handle empty variables correctly. Patch by Sven Axelsson.Gravatar axel2009-02-02
| | | | darcs-hash:20090201222058-ac50b-31a7ee2db9f68729c21ba153e1439cbeabff84ce.gz
* Fix user completion so it can handle comments in the passwd file. Patch by ↵Gravatar axel2009-02-02
| | | | | | Sven Axelsson. darcs-hash:20090201221921-ac50b-ef0883afe4dc68b43c1c705d49b6b5505dbf1e73.gz
* Search for command-not-found in PATH on startup, since older implementations ↵Gravatar liljencrantz2008-01-15
| | | | | | place it there darcs-hash:20080115122953-75c98-05ef8cb650a942c59dfa35aa63b25ccd49614dde.gz
* In prompt_pwd, if a directory name starts with a dot, include first two ↵Gravatar liljencrantz2008-01-17
| | | | | | characters. This patch was written by Denilson F. de Sá darcs-hash:20080116223621-75c98-46f96c9f25d5e32cd10148d35713622e6eac50d7.gz
* Drop vim feature of only completing text and gzip filesGravatar liljencrantz2008-01-17
| | | | darcs-hash:20080116180249-75c98-2fdff83afcb286c7cc06d3ed66089c9cc02eca20.gz
* Oops. Made a minor but important typo in previous cleanup patch. :-(Gravatar liljencrantz2008-01-15
| | | | darcs-hash:20080115004050-75c98-3f7f733cca054d8685ec5df68d6467057ea5be53.gz
* Drop minor typo, add a few code commentsGravatar liljencrantz2008-01-15
| | | | darcs-hash:20080114225828-75c98-f67f17d7f3148b0bcc74ea53536d52da80667e55.gz
* Add support for the Ubuntu 'command-no-found' handler, which suggests a ↵Gravatar liljencrantz2008-01-15
| | | | | | package to install in order to get a command. darcs-hash:20080114223124-75c98-ab1658d54086394cf13f3a6210543c0b790362c4.gz
* Add check for existance of fish_greeting variableGravatar liljencrantz2008-01-13
| | | | darcs-hash:20080112185319-75c98-3b5231b1a956c94e8800dae033f3672622104340.gz
* Fix silly type I caused when cleaning up ant completions. Thanks to Steven ↵Gravatar liljencrantz2008-01-13
| | | | | | Knight for the report darcs-hash:20080112184928-75c98-286284df7196a479c6a2789120705f1764d619b9.gz
* Fix spelling, thanks to Chris RebertGravatar liljencrantz2008-01-13
| | | | darcs-hash:20080112184042-75c98-1f776d6f099003efd9a0c4ed45100c3a02e80e19.gz
* Improve ant completions. This patch comes from Steven Knight. (minor tweaks ↵Gravatar liljencrantz2008-01-09
| | | | | | applied) darcs-hash:20080108221608-75c98-a0c7f65c65fb2e2c68085c69e72caa4a2c86a029.gz
* Only set various startup defaults once. Even if the user removes them, do ↵Gravatar liljencrantz2008-01-09
| | | | | | not try to reset them. darcs-hash:20080108161856-75c98-7d228f7a0c62aa8be74f66ce72d0cadbc3030f5d.gz
* Only set the fish greeting variable on the very first startupGravatar liljencrantz2008-01-09
| | | | darcs-hash:20080108152708-75c98-d1aa82fbcf070b74f402a6b33e687ccf615fb104.gz
* option-absent-functionGravatar patroclo72007-12-18
| | | | | | | | Add a function which checks that an option has not been used (useful to avoid incompatible combinations of options and necessary for the completions for the pacman package manager. darcs-hash:20071217230315-782a0-be39b1258832f0d2427765200d051e5d688b041b.gz
* Fix bug in key binding code causing unneeded error messagesGravatar liljencrantz2007-10-31
| | | | darcs-hash:20071031091503-75c98-3ab5786c1f991e4ea37c33b76823a487f25fab64.gz
* Make the Alt-p keybinding respect the PAGER variableGravatar liljencrantz2007-10-06
| | | | darcs-hash:20071006103231-75c98-59ef22ad49526f52cff8a97d9fac9f003af19213.gz
* 'Misfeature' fix for eval function - make it force job control when in ↵Gravatar liljencrantz2007-10-06
| | | | | | interactive mode, in order to make commands that expect to control the terminal happy darcs-hash:20071006102326-75c98-b168d709d54edb21c478ec2d69420468a2c08da1.gz
* Use IO redirection to make the eval function actually have a working stdinGravatar liljencrantz2007-10-06
| | | | darcs-hash:20071005150245-75c98-d6a6d2f6ec1690079ee30f0e9cccf61e30e14c08.gz
* Make fish automatically realise a repaint is needed in more situations, ↵Gravatar liljencrantz2007-10-06
| | | | | | making many keybinding calls to 'commandline -f repaint' unneeded darcs-hash:20071005145919-75c98-ce349d3718e54df30a050b97afee48b56ab46348.gz