fish-shell/share
Kurtis Rader 51468b7646 add function --shadow-builtin flag
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
2016-05-14 20:38:32 -07:00
..
completions git: Complete reflog for reset 2016-05-13 16:18:29 +02:00
functions add function --shadow-builtin flag 2016-05-14 20:38:32 -07:00
tools fix typo in webconfig.py comment 2016-05-11 19:51:08 -07:00
__fish_build_paths.fish.in Rename "snippets" to "conf" internally, and document them as snippets 2016-04-06 09:33:09 +08:00
config.fish Allow overriding fish_term24bit on launch 2016-04-18 14:19:34 +02:00