diff options
author | Mark Griffiths <mark@thebespokepixel.com> | 2014-08-08 03:44:37 +0100 |
---|---|---|
committer | Mark Griffiths <mark@thebespokepixel.com> | 2014-09-03 14:43:26 +0100 |
commit | 509d152e5407856ce00833b931ef29c3d98c3573 (patch) | |
tree | 874dc078d0d978b00cf1964f681f612fe997ddbd /doc_src/trap.txt | |
parent | 35e6fb3788dfd717d374647739cd8d0d790be96e (diff) |
Tutorial auto colouring, Man page and Make fixes
Completely fixes #1557 and the underlying Doxygen changes that caused
it. Should make fish docs simpler and more robust, more consistent and
generally prettier.
todo:
- trap unmarked text as arguments in context
- test & fix sed portability - see in particular. (so far tested on BSD
(Mac) and GNU sed).
- test Makefile changes
- last round of aesthetic changes and getting that ascii fish in thereā¦
Diffstat (limited to 'doc_src/trap.txt')
-rw-r--r-- | doc_src/trap.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc_src/trap.txt b/doc_src/trap.txt index fdccd178..9c607ad4 100644 --- a/doc_src/trap.txt +++ b/doc_src/trap.txt @@ -40,6 +40,7 @@ The return status is 1 if any `SIGSPEC` is invalid; otherwise trap returns 0. \subsection trap-example Example - -`trap "status --print-stack-trace" SIGUSR1` prints a stack trace -each time the `SIGUSR1` signal is sent to the shell. +\fish +trap "status --print-stack-trace" SIGUSR1 +# Prints a stack trace each time the SIGUSR1 signal is sent to the shell. +\endfish
\ No newline at end of file |