From e5b1d894da02073162108668b7ab01fc7d3921e9 Mon Sep 17 00:00:00 2001 From: "David Adam (zanchey)" Date: Fri, 10 May 2013 23:06:29 +0800 Subject: [PATCH] Document that fish functions cannot be background (Documentation for #238, #563) --- doc_src/index.hdr.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in index 62bde6b25373..0bc4faeeb71e 100644 --- a/doc_src/index.hdr.in +++ b/doc_src/index.hdr.in @@ -1224,6 +1224,10 @@ which the user can change fish's behavior. -# By pressing ^Z, the user stops a currently running foreground program and returns control to \c fish. Some programs do not support this feature, or remap it to another key. GNU Emacs uses ^X z to stop running. -# By using the fg and bg builtin commands, the user can send any currently running job into the foreground or background. +Note that functions cannot be started in the background. Functions that +are stopped and then restarted in the background using the \c bg command +will not execute correctly. + \section initialization Initialization files On startup, \c fish evaluates the files /usr/share/fish/config.fish