| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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`.
|
|
|
|
| |
This was probably an oversight - the builtin supports it, the function doesn't.
|
|
|
|
| |
Pass the input to 'string', it was accidentally removed in fcdc6a48c0bbdc796975db8d0b7f32434d86d249.
|
|
|
|
|
| |
Previously --merge happened to work, but only because it was
smuggled in through the 'print' command
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Run through fish_indent, mismatching indents actually confusing.
[skip ci]
|
|
|
|
|
|
|
| |
Closes #2055.
Implements the standard `--` option for delimiting options from
arguments; to search for "--", use `history --search -- --`.
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
|
|
|
| |
while deleting items
|
|
|
|
|
| |
1. history function without any argument now correctly shows user's command history.
2. history --save now saves user's command history.
|
|
|
|
| |
Updated history function to assume --search as the default behavior
|
|
|
|
| |
Tweaked validation regex to use extended regexs
|
| |
|
|
|