aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
Commit message (Collapse)AuthorAge
* history: put the output through the pager in interactive modeGravatar David Adam2014-10-26
| | | | | | | | (Ideally, the behaviour of git could be implemented: pipe the input through a pager iff the length is > window size and in interactive mode). Closes #1076.
* Added hg repo status to robbyrussell example promptGravatar Pawel Zubrycki2014-10-26
|
* prompt_pwd: Use tilde expansion to get real full home pathGravatar David Adam2014-10-26
| | | | Closes #1133.
* Add setfacl completionsGravatar Roman Inflianskas2014-10-21
|
* Allow funced to retry on errorGravatar ridiculousfish2014-10-17
| | | | Fixes #1371
* web_config: add support for adding and editing abbreviationsGravatar David Adam2014-10-17
| | | | | | | Possible future enhancements include explanatory text and an image for the 'save' action. Work on #731.
* web_config: map nonexistent post requests to 404Gravatar David Adam2014-10-17
|
* ls: find and use various dircolors initialisation files, if they existGravatar David Adam2014-10-17
| | | | Closes #1758.
* web_config: further python2/3 unificationGravatar David Adam2014-10-12
|
* web_config: use only Python 3-style (Unicode) string literalsGravatar David Adam2014-10-12
| | | | | Improves Python 2/3 compatibility. (It is the distant future, the year TWO THOUSAND.)
* Vagrant completion updatesGravatar Diego Zamboni2014-10-10
| | | | | | | Improve vagrant completions for some commands to avoid spurious completions, and add completions for some missing Vagrant commands. Fixes #1748.
* A little extra tweaking so builtin_print_help looks betterGravatar Kevin Ballard2014-10-10
| | | | | | | The terminal width magic that __fish_print_help learned doesn't help when builtin_print_help runs it in a subshell. Instead, add an undocumented --tty-width flag to __fish_print_help that's used to pass the terminal width.
* Rewrite __fish_print_help to produce better resultsGravatar Kevin Ballard2014-10-09
| | | | | | | | | | | | As a result of this rewrite, the output now: * Expands to fit the terminal width, like `man` does * Preprocesses the manpage with `tbl` just in case, since `man` does this, even though I doubt any fish manpages use `tbl` formatting. * Handle bold/underline with the `ul` command as it was designed for instead of trying to fake it with `sed`. * Compresses blank lines as `man` does with the default `less -is` pager.
* web_config: Interpret fish output as utf-8Gravatar Kevin Ballard2014-10-09
| | | | Use the unicode replacement character in place of non-utf-8 sequences.
* fish_config: Log the path for errorsGravatar Kevin Ballard2014-10-09
|
* Support -h/--help with `eval`Gravatar Kevin Ballard2014-10-09
| | | | | | `eval` prints help if given a single argument of -h or --help. Fixes #1379.
* Revert "Remove help completion for eval, which doesn't work"Gravatar Kevin Ballard2014-10-09
| | | | This reverts commit d2f23e1df45f07fb4d716b07c40de7381e539b9d.
* web_config: send correct MIME type (and actually send it)Gravatar David Adam2014-10-09
|
* Remove help completion for eval, which doesn't workGravatar ridiculousfish2014-10-08
| | | | Fixes #1379
* Rewrite `abbr` functionGravatar Kevin Ballard2014-10-07
| | | | | | | | | | | | The usage is still the same, but it's a lot more robust, and also no longer assumes $fish_user_abbreviations must be a universal variable. This also fixes the unexpected error output when calling `abbr -a` with no existing abbreviations. Calling `abbr -a` with an abbreviation that already exists now silently overwrites the abbreviation, just like `function` and `bind` do, instead of complaining.
* web_config: fix output if no abbreviations definedGravatar David Adam2014-10-07
|
* web_config: add support for viewing abbreviationsGravatar David Adam2014-10-05
| | | | | | | Add a new tab which lists the current abbreviations defined, by wrapping the `abbr` command. Work on #731.
* web_config: set width to dynamic 80% of windowGravatar David Adam2014-10-05
| | | | | As we add more tabs, 800px looks increasingly cramped, and our config should take advantage of the screen space available.
* abbr.fish: add abbr, a command to manipulate abbreviationsGravatar David Adam2014-10-05
| | | | Work on #731.
* web_config: update AngularJS to 1.0.8Gravatar David Adam2014-10-05
|
* Fix Perl module completions.Gravatar Konrad Borowski2014-10-04
| | | | | | This fixes the issue with nonexistant directories (some Linux distributions put these for local modules), and also fixes the issue of dot meaning any character instead of simply dot.
* add yast2 completionGravatar Roman Inflianskas2014-10-04
|
* Prevent STDERR leak from abook detection in mutt completionGravatar Jon Gjengset2014-10-03
| | | Fixes #1737
* Clean up prompt_pwd with the new function -V flagGravatar Kevin Ballard2014-10-02
| | | | Also fixes `cd /private` displaying as no path on OS X.
* Update psub for the new --inherit-variable flagGravatar Kevin Ballard2014-10-02
| | | | | Also do some minor formatting cleanup, make psub return 1 when executed outside of a command substitution, and make it respect $TMPDIR.
* # This is a combination of 2 commits.Gravatar Kevin Ballard2014-10-02
| | | | | | | | | | # The first commit's message is: Simplify default fish_prompt No need for the set_color caching now that it's a builtin. Also simplify the 3 classic prompts in fish_config's sample_prompts set.
* Minor tweaks to initial keybinding loadGravatar Kevin Ballard2014-10-02
| | | | | | | Remove comment that AFAICT is not true anymore. Ensure someone setting __fish_active_key_bindings as a universal variable doesn't screw up the initial keybinding load.
* Create and use $DATADIR/vendor_completions.d/ for upstream completionsGravatar David Adam2014-10-01
| | | | Closes #1485.
* Manpage completions: store in $XDG_DATA_HOMEGravatar David Adam2014-09-29
| | | | Closes #1343, works towards #1257.
* Added some completions for opamGravatar Vincent Huang2014-09-29
| | | | | | All opam subcommands and descriptions are covered, along with all the flags that are common to all commands. However, only `opam config` has complete subsubcommand coverage.
* bind: add completions for -m and -MGravatar David Adam2014-09-29
| | | | See https://github.com/fish-shell/fish-shell/issues/1663
* __fish_print_hostnames: use awk to process ssh_config filesGravatar David Adam2014-09-29
| | | | | | Uses awk rather than sed to account for multiple formatting options. Closes #1260.
* __fish_complete_path: add new completion, mimics builtin path completionGravatar David Adam2014-09-29
| | | | | | | Completions can now be written which disable file completion and then selectively re-enable it using this function. Closes #834.
* Add Meta+H as keybinding for man page.Gravatar Konrad Borowski2014-09-28
| | | | | | | | Apparently, in zsh, Meta+H can be used to display the manpage for the current command. This commit adds this zsh feature to fish shell. The F1 keybinding is left, although it's now secondary according to fish help, as some terminal emulators don't let the user press F1 key.
* Revert "math.fish: support floating-point maths"Gravatar David Adam2014-09-27
| | | | | | | | | This reverts commit 7cad0069e8f4a652d0e22f1b0198f67399e80157. https://github.com/fish-shell/fish-shell/issues/1723 http://superuser.com/questions/31445/gnu-bc-modulo-with-scale-other-than-0 This is why we can't have nice things.
* math.fish: support floating-point mathsGravatar David Adam2014-09-27
| | | | | | | Closes #1643. Thanks to Mickaƫl RAYBAUD-ROIG (https://github.com/m-r-r) for the idea of printf.
* Fix emacs completion on OS XGravatar lledey2014-09-24
| | | | Avoid calling seq with 0 as argument since its behaviour is wrong on OS X.
* Make fish config work if one of colors is undefined.Gravatar Konrad Borowski2014-09-23
| | | | This moves the sorting to be done before sorting remaining colors.
* Only print fish_greeting for interactive shellsGravatar Kevin Ballard2014-09-21
| | | | | | Shell scripts that use `read` should not trigger fish_greeting. Fixes #1401.
* Tweak git completion for aliases/stashesGravatar Kevin Ballard2014-09-21
| | | | | | | Use the new `read -z` flag to complete git aliases better. This approach won't break if an alias contains a newline. Also fix stash completion, which was broken on BSD sed.
* Use double dashes for contains in fossil completions.Gravatar Konrad Borowski2014-09-21
| | | | | This fixes the issue with strange behaviour of fish shell when first option of a command is an option.
* Complete custom git commands in $PATHGravatar Kevin Ballard2014-09-19
| | | | | | | Git treats executables in $PATH that start with "git-" as custom subcommands. Add completion support for them. Fixes #1680.
* Better git alias completionGravatar Kevin Ballard2014-09-19
| | | | | Config entries that contained the word "alias" but were not in fact aliases no longer are treated as aliases.
* Incorporate attribute links for color themes in web_configGravatar ridiculousfish2014-09-19
|
* Reset fish_bind_mode when changing fish_key_bindingsGravatar Kevin Ballard2014-09-18
| | | | | | | Also avoid resetting bindings if fish_key_bindings is "modified" without actually changing. Fixes #1638.