aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions
Commit message (Collapse)AuthorAge
...
* Fixed test statement in binding for Alt-DGravatar Siteshwar Vashisht2012-12-05
| | | | Fix for https://github.com/fish-shell/fish-shell/issues/421
* use sgrep instead of grepGravatar David Adam (zanchey)2012-11-27
|
* use getent for hosts if available, otherwise use more resilient processing ↵Gravatar David Adam (zanchey)2012-11-27
| | | | of /etc/hosts
* use getent for passwd and group if availableGravatar David Adam (zanchey)2012-11-27
|
* Merge branch 'master' into fix-indentation-mergeGravatar ridiculousfish2012-11-18
|\
| * Default fish_pager_color_description to '555 yellow'Gravatar ridiculousfish2012-11-18
| | | | | | | | Fixes https://github.com/fish-shell/fish-shell/issues/280
* | Remove trailing whitespaces and change tabs to spacesGravatar Łukasz Niemier2012-11-18
|/
* Optimize staged logicGravatar Terje Larsen2012-11-17
|
* Use double-dollar vars for dynamic variablesGravatar Terje Larsen2012-11-17
|
* Add configurable status signs againGravatar Terje Larsen2012-11-17
|
* Fix uniqueness and escape question-marksGravatar Terje Larsen2012-11-17
|
* Fix: args -> argv in __fish_git_promptGravatar Sławek Piotrowski2012-11-14
|
* Improve the git promptGravatar Terje Larsen2012-10-20
| | | | | | | | | | - Fix branch for older git version (--short for symbolic-ref was not available on git 1.7.9.5) - Use index (git status) for checking if staged - Add status indication for copied - Remove variables for statuses (less litter in the variables) - Remove usage of eval to echo and set_color - Replace printf where possible with echo -n
* Removed backwards compatibility check for fish_user_keybindingsGravatar ridiculousfish2012-10-20
|
* Normalized some inconsistent whitespace.Gravatar Nate Soares2012-10-20
|
* Revive support for fish_user_keybindingsGravatar Nate Soares2012-10-20
| | | | This is undocumented and here to preserve backwards compatibility.
* added missing underscoreGravatar Nate Soares2012-10-20
|
* keybindings → key_bindings (for consistency)Gravatar Nate Soares2012-10-20
|
* Added terlar's prompt, and robbyrussell which was inadvertently omittedGravatar ridiculousfish2012-10-15
| | | | https://github.com/fish-shell/fish-shell/issues/329
* Facelift for pacman completions.Gravatar SanskritFritz2012-10-02
|
* Package groups were completed as repos. Fixed.Gravatar SanskritFritz2012-10-02
| | | | | By default fish expands arguments along with options. This is not desired, so made sure they are expanded only when needed, for performance reasons.
* fix outputGravatar maxfl2012-09-22
|
* Improve documentation and error reporting for elseif.Gravatar ridiculousfish2012-09-01
|
* Fix check for non-empty argument (= initial tab) in fish_configGravatar Torsten Grust2012-08-30
| | | | The original version (based on 'test') was creating spurious files named "0" in the current working directory
* Use xdg-open instead of BROWSER, if availableGravatar ridiculousfish2012-08-25
| | | | https://github.com/fish-shell/fish-shell/issues/293
* Disable file completion descriptions per ↵Gravatar ridiculousfish2012-08-15
| | | | https://github.com/fish-shell/fish-shell/issues/279
* Get rid of 'nothing appropriate' output when completing.Gravatar maxfl2012-08-04
| | | | Add watch completion.
* Fix to allow specifying an initial tab in fish_configGravatar ridiculousfish2012-07-27
| | | | For example, you can run "fish_config history"
* Fix showupstream behavior in __fish_git_promptGravatar Kevin Ballard2012-07-26
| | | | | | | | | | | | | | | | | The __fish_git_prompt_show_upstream helper function was inadvertently looking at the misnamed variable __fish_git_prompt_show_upstream in some cases, including when implementing the bash.showUpstream override. Fixing the script to use __fish_git_prompt_showupstream triggered an infinite loop because the --on-variable hook does not distinguish between local and global variables. Update the script to set a completely different local variable to __fish_git_prompt_showupstream and to override this local variable for bash.showUpstream. Also update the code that looks at bash.showUpstream to also read bash.showupstream, because the bash script appears to have a bug where it looks for bash.showupstream despite documenting bash.showUpstream.
* Minor refactoring and fixed a bug in history functionGravatar Siteshwar Vashisht2012-07-24
|
* Update __fish_git_prompt.fish to handle git-svn betterGravatar Kevin Ballard2012-07-13
| | | | | | | | | | Git-svn remotes can have a prefix for their remotes. If I set a prefix of 'svn/' then my remote trunk branch is called svn/trunk. Update the script to use the svn-remote.*.fetch key to figure out how the 'trunk' branch is mapped into the remotes namespace and apply this to the current branch. This assumes branches are mapped into the same namespace, which is likely. It also doesn't work for tags, but neither did the old code.
* Fix for https://github.com/fish-shell/fish-shell/issues/218Gravatar ridiculousfish2012-07-09
| | | | make help smarter on OS X (don't show useless builtin man page)
* Tweaked __fish_print_help to not spew errorsGravatar ridiculousfish2012-07-06
|
* Fix for https://github.com/fish-shell/fish-shell/issues/209Gravatar ridiculousfish2012-07-06
| | | | Don't hang if stdin is closed and we have no bindings
* Make prompt_pwd make a lot more senseGravatar Emily Eisenberg2012-07-06
| | | | | | Remove the case statements, which were handled by the sed blocks anyway Move around the '/' character in the regex, so only one regex is needed Fix a bug where '/' is output as '//'
* Fixed case behaviourGravatar maxfl2012-07-05
| | | | | | | | | | | | | | | | | | | | | * case no properly handles -h and --help flags, i.e. treats it as pattern * fixed case escaping: The following expressions now work correctly: switch '*' echo '*' echo Match any string end switch '*' echo '\*' echo Match asterix end switch '\\' echo '\\\\' echo Match slash end The same for '?' sign
* Doc is updatedGravatar maxfl2012-07-01
| | | | btw. funced completion is updated
* Update funcedGravatar maxfl2012-07-01
| | | | | | | | | | | | | * Editor mode is no the default * Use -i or --interactive or -e fish to edit function in interactive mode * tmpname is now created with random number added and check that file do not already exist * check $TMPDIR existence and put /tmp if it does not exist * There is an undocumented feature to use functions, started with dash. Introduce necessary changes to funced, functions, def_function() in order to make it work properly. * Delete editor guessing. Use $EDITOR variable or -e key
* Disable default fish_pager_color_secondaryGravatar maxfl2012-06-29
| | | | since it should be different, depending on terminal background
* Step coloring for fish_pager introduces new variableGravatar maxfl2012-06-29
| | | | | | fish_pager_color_secondary to set background of every second completion line. It simplifies finding the options corresponding to given description. Default color is 151515.
* Change funced script to default to using $EDITOR if set, and to allow -e to ↵Gravatar ridiculousfish2012-06-29
| | | | specify a particular editor (with fish meaning the builtin editor)
* Support editing functions starting with dotGravatar maxfl2012-06-29
|
* Add emacs to 'funced -e'Gravatar maxfl2012-06-29
| | | | The order is also changed.
* Add -e option to funcedGravatar maxfl2012-06-29
| | | | | New option -e or --editor allows to edit function inside external editor, rather than in reader.
* fix #177 (complete 'cd' only with paths)Gravatar maxfl2012-06-26
|
* Remove __fish_git_prompt's switch bug workaroundGravatar Kevin Ballard2012-06-25
| | | | | | With the switch bug fixed, __fish_git_prompt can be very slightly simplified by not recording the exit status of every case in the describe style switch individually.
* Bring prompt_pwd under Darwin to parity with non-DarwinGravatar Kevin Ballard2012-06-24
| | | | | | | The echo command to print the last path segment got a couplel of fixes, but these fixes were only applied to the non-Darwin version. Copy these fixes over to the Darwin version. Notably, this makes `/` stop displaying as `//`.
* Fix prompt_cwd on darwin systems when $PWD is "/private"Gravatar Kevin Ballard2012-06-24
| | | | | | | | | | When $PWD is "/private", the prompt was printing "rivate". Skip the "/private" stripping if there's nothing after it. Prevent "/private" from being stripped anywhere but the beginning of the PWD. Fixes #173
* Fix var set in __fish_config_interactive.fishGravatar Kevin Ballard2012-06-24
| | | | | | | __fish_config_interactive.fish uses the presence of __fish_init_1_50_0 to decide whether it should perform a one-time initialization of universal variables. Unfortunately, it sets the variable __fish_init_1_23_0. Fix this to set __fish_init_1_50_0 instead.
* Tweak documentation for __fish_git_promptGravatar Kevin Ballard2012-06-21
| | | | Add mention of the __fish_git_prompt_color variable.