aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/history.fish
Commit message (Collapse)AuthorAge
* add `function --shadow-builtin` flagGravatar Kurtis Rader2016-05-14
| | | | | | | | | | | | | | It's currently too easy for someone to bork their shell by doing something like `function test; return 0; end`. That's obviously a silly, contrived, example but the point is that novice users who learn about functions are prone to do something like that without realizing it will bork the shell. Even expert users who know about the `test` builtin might forget that, say, `pwd` is a builtin. This change adds a `--shadow-builtin` flag that must be specified to indicate you know what you're doing. Fixes #3000
* fix the style of several functionsGravatar Kurtis Rader2016-05-08
| | | | | | I'm going to modify these functions as part of dealing with issue #3000 and don't want those changes to be masked by running the files through `make style`.
* Add history --helpGravatar Fabian Homborg2016-03-30
| | | | This was probably an oversight - the builtin supports it, the function doesn't.
* history.fish: Fix input handlingGravatar Jaime Marquínez Ferrándiz2016-03-02
| | | | Pass the input to 'string', it was accidentally removed in fcdc6a48c0bbdc796975db8d0b7f32434d86d249.
* 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
* Fix typoGravatar Aaron Gyes2016-02-16
|
* Fix --merge hitting a caseGravatar Aaron Gyes2016-02-16
|
* Stringify history.fishGravatar Fabian Homborg2016-02-03
|
* functions/history.fish: whitespace only changeGravatar David Adam2015-07-31
| | | | | | Run through fish_indent, mismatching indents actually confusing. [skip ci]
* functions/history.fish: validate command line arguments in wrapperGravatar David Adam2015-07-31
| | | | | | | Closes #2055. Implements the standard `--` option for delimiting options from arguments; to search for "--", use `history --search -- --`.
* 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.
* Remove trailing whitespaces and change tabs to spacesGravatar Łukasz Niemier2012-11-18
|
* Minor refactoring and fixed a bug in history functionGravatar Siteshwar Vashisht2012-07-24
|
* Made history --help show history man page and history is now saved only once ↵Gravatar Siteshwar Vashisht2012-06-12
| | | | while deleting items
* Fixed following bugs in history function:Gravatar Siteshwar Vashisht2012-06-06
| | | | | 1. history function without any argument now correctly shows user's command history. 2. history --save now saves user's command history.
* Added history completion fileGravatar ridiculousfish2012-06-05
| | | | Updated history function to assume --search as the default behavior
* Relnoted history builtinGravatar ridiculousfish2012-06-04
| | | | Tweaked validation regex to use extended regexs
* Tweaks to the history functionGravatar ridiculousfish2012-06-04
|
* Adding history builtinGravatar Siteshwar Vashisht2012-06-05