aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/abbr.fish
Commit message (Collapse)AuthorAge
* Tweak and add tests for abbrGravatar ridiculousfish2015-06-14
| | | | | | | | | | | 1. When run with no arguments, make abbr do the equivalent of `abbr --show` 2. Enable "implicit add", e.g. `abbr gco git checkout` 3. Teach `abbr --show` to not use quotes for simple cases 4. Teach abbr to output -- when the abbreviation has leading dashes Add some basic tests to abbr too.
* abbr: rename --remove to --eraseGravatar David Adam2015-05-22
| | | | | | for consistency with other fish commands Closes #2071.
* abbr: coalesce multiple arguments to --addGravatar David Adam2015-03-13
| | | | Makes the behaviour of the script match the documentation.
* Update various strings for translation, avoid _ for non-translationsGravatar David Adam2014-11-25
| | | | | Use __ instead of _ as a placeholder for ignored variables in `read` statements.
* abbr.fish: escape the output of abbr --showGravatar David Adam2014-11-16
| | | | | | | Allows abbreviations containing embedded newlines, etc., to be displayed and exported properly. Work on #731.
* abbr.fish: improve support for corner casesGravatar David Adam2014-11-16
| | | | | | | Handle unusual cases ('=abc', ' =abc') better - regression from 8e8e6314due to a7bab7b. Work on #731.
* abbr/web_config: support space-delimited abbreviationsGravatar David Adam2014-11-15
| | | | | | | | | Support for space-delimited abbreviations was added to the expansion parser in fbade198; this commit extends that support to the user-facing tools, and documents the space-separated behaviour. Equals-delimited abbreviations are expected to be removed before the next release. Work on #731.
* 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.
* abbr.fish: add abbr, a command to manipulate abbreviationsGravatar David Adam2014-10-05
Work on #731.