fish-shell/doc_src
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
..
branding add files for the fish logo as used for the fish-shell stickers 2016-02-22 12:27:39 -08:00
abbr.txt Migrate abbrs from =-separated to space-separated 2016-03-02 10:59:12 -08:00
alias.txt Fix aliases with whitespace 2015-09-23 13:28:32 +02:00
and.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
ascii_fish.png Addition of 'ascii fish' logo 2014-09-03 14:43:27 +01:00
begin.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
bg.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
bind.txt trivial fixes to make doxygen happy 2016-04-23 12:26:57 -07:00
block.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
break.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
breakpoint.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
builtin.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
case.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
cd.txt limit size of cd history to 25 directories 2016-03-23 13:36:00 -07:00
command.txt Rebase documentation changes 2014-09-03 15:10:53 +01:00
commandline.txt commandline docs: Add examples for the filters 2015-09-11 21:05:55 +02:00
commands.hdr.in Update menus for consistency 2014-09-07 17:35:19 +01:00
complete.txt Tweak complete docs again 2016-01-01 19:54:21 -08:00
contains.txt contains: add documentation regarding the use of -- 2014-10-26 19:02:03 +08:00
continue.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
count.txt Various additions and fixes 2014-09-03 14:43:27 +01:00
design.hdr docs/design.hdr: inclusive lanugage 2015-08-17 20:27:13 +08:00
dirh.txt limit size of cd history to 25 directories 2016-03-23 13:36:00 -07:00
dirs.txt Document dirs -c 2015-09-11 11:33:04 +02:00
echo.txt trivial fixes to make doxygen happy 2016-04-23 12:26:57 -07:00
else.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
emit.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
end.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
eval.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
exec.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
exit.txt Updated exit.txt reference to source 2015-03-18 16:22:29 -04:00
false.txt Make false/true into builtins 2014-09-29 13:39:35 -07:00
faq.hdr Changed the code to add fish to /etc/shells to the one that is mentioned in the Readme 2016-05-06 18:47:57 -07:00
fg.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
fish_config.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
fish_indent.txt change how redirections are formatted 2016-04-05 19:29:23 -07:00
fish_key_reader.txt enhance the key_reader program 2016-05-10 14:11:30 -07:00
fish_prompt.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
fish_realpath.txt provide a realpath implementation 2016-04-28 16:03:27 -07:00
fish_right_prompt.txt update lexicon for latest docs 2016-04-04 15:23:56 -07:00
fish_update_completions.txt Documentation update 2014-09-03 14:43:24 +01:00
fish_vi_mode.txt Deprecate fish_vi_mode 2016-04-26 15:21:15 +02:00
fish.txt Various additions and fixes 2014-09-03 14:43:27 +01:00
for.txt Mention that for variables are local. 2015-02-06 07:48:47 +01:00
FORMATTING.md more doxygen lexicon changes to eliminate errors 2016-04-24 15:02:52 -07:00
funced.txt Use $VISUAL before $EDITOR in funced 2015-09-02 13:55:59 +02:00
funcsave.txt docs: Improve autoloading/event documentation 2015-09-11 11:33:04 +02:00
function.txt add function --shadow-builtin flag 2016-05-14 20:38:32 -07:00
functions.txt Various additions and fixes 2014-09-03 14:43:27 +01:00
help.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
history.txt Rebase documentation changes 2014-09-03 15:10:53 +01:00
if.txt Add multi-condition example to if documentation 2015-09-11 11:33:04 +02:00
index.hdr.in docs: fix location of generated_completions (#3010) 2016-05-08 13:51:30 +02:00
isatty.txt isatty: revert to previous behaviour 2015-02-01 18:18:34 +08:00
jobs.txt Various additions and fixes 2014-09-03 14:43:27 +01:00
license.hdr Merge new string builtin 2015-09-21 16:41:25 -07:00
math.txt add floating point output to math command 2016-05-03 19:29:04 -07:00
nextd.txt limit size of cd history to 25 directories 2016-03-23 13:36:00 -07:00
not.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
open.txt open: drop mimedb dependency 2015-07-23 14:26:38 +08:00
or.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
popd.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
prevd.txt limit size of cd history to 25 directories 2016-03-23 13:36:00 -07:00
printf.txt update lexicon for latest docs 2016-04-04 15:23:56 -07:00
prompt_pwd.txt replace <outp> command with \outp in docs 2016-04-23 21:19:58 -07:00
psub.txt psub: add -s, --suffix 2015-11-14 13:15:30 +01:00
pushd.txt Document pushd "+N" and "-N" 2015-09-11 11:33:04 +02:00
pwd.txt Simplify styling 2014-09-03 14:43:25 +01:00
random.txt Shorten some of the language in random docs 2016-01-07 20:57:34 -08:00
read.txt Add --right-prompt flag to read 2014-09-21 21:10:07 -07:00
return.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
set_color.txt Correct true-color statement in set_color docs 2016-04-07 18:27:34 +02:00
set.txt Consistency fixes 2014-09-03 14:43:27 +01:00
source.txt clarify documentation for the source command 2016-04-06 17:18:06 -07:00
status.txt Various additions and fixes 2014-09-03 14:43:27 +01:00
string.txt more doxygen lexicon changes to eliminate errors 2016-04-24 15:02:52 -07:00
suspend.txt Suspend docs: Fix typo 2015-09-06 15:03:43 +02:00
switch.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
test.txt Try to clarify test documentation for newbies 2016-02-28 17:52:42 +01:00
trap.txt Various additions and fixes 2014-09-03 14:43:27 +01:00
true.txt Make false/true into builtins 2014-09-29 13:39:35 -07:00
tutorial.hdr more doxygen lexicon changes to eliminate errors 2016-04-24 15:02:52 -07:00
type.txt replace <outp> command with \outp in docs 2016-04-23 21:19:58 -07:00
ulimit.txt Various additions and fixes 2014-09-03 14:43:27 +01:00
umask.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
user_doc.css update lexicon for latest docs 2016-04-04 15:23:56 -07:00
user_doc.footer.html Documentation update 2014-09-03 14:43:24 +01:00
user_doc.header.html Documentation update 2014-09-03 14:43:24 +01:00
vared.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00
while.txt Make line length, wrapping and spacing consistent 2014-09-03 14:43:26 +01:00