diff --git a/doc_src/FORMATTING.md b/doc_src/FORMATTING.md index 74b530a49..20fb35ebc 100644 --- a/doc_src/FORMATTING.md +++ b/doc_src/FORMATTING.md @@ -60,9 +60,13 @@ which is then transformed by Doxygen into an HTML version (`make user_doc`): `echo hello world` -A man page version (`make share/man`): __echo__ hello world +A man page version (`make share/man`): -And a simple HTML version for the developer docs (`make doc` and `make doc/refman.pdf`): `echo hello world` +__echo__ hello world + +And a simple HTML version for the developer docs (`make doc`) and the LATEX/PDF manual (`make doc/refman.pdf`): + +`echo hello world` ### Choosing a CLI style: using a \\fish{style} block diff --git a/doc_src/ascii_fish.png b/doc_src/ascii_fish.png index 20151f967..33765a4a7 100644 Binary files a/doc_src/ascii_fish.png and b/doc_src/ascii_fish.png differ diff --git a/doc_src/faq.hdr b/doc_src/faq.hdr index fd3ed9765..22c323d34 100644 --- a/doc_src/faq.hdr +++ b/doc_src/faq.hdr @@ -36,7 +36,7 @@ Use the `set` command: -\fish +\fish{cli-dark} set -x key value set -e key \endfish @@ -51,7 +51,7 @@ Edit the file `~/.config/fish/config.fish`, creating it if it does not exist (No The prompt is the output of the `fish_prompt` function. Put it in `~/.config/fish/functions/fish_prompt.fish`. For example, a simple prompt is: -\fish +\fish{cli-dark} function fish_prompt set_color $fish_color_cwd echo -n (prompt_pwd) @@ -72,7 +72,7 @@ Type some part of the command, and then hit the @cursor_key{↑,up} or @curso `fish` uses parentheses for subcommands. For example: -\fish +\fish{cli-dark} for i in (ls) echo $i end @@ -94,7 +94,7 @@ Use the `env` command. You can also declare a local variable in a block: -\fish +\fish{cli-dark} begin set -lx SOME_VAR 1 command @@ -137,7 +137,7 @@ The `open` command uses the MIME type database and the `.desktop` files used by If you installed fish manually (e.g. by compiling it, not by using a package manager), you first need to add fish to the list of shells by executing the following command (assuming you installed fish in /usr/local) as root: -\fish +\fish{cli-dark} echo /usr/local/bin/fish >>/etc/shells \endfish @@ -145,7 +145,7 @@ If you installed a prepackaged version of fish, the package manager should have In order to change your default shell, type: -\fish +\fish{cli-dark} chsh -s /usr/local/bin/fish \endfish @@ -160,7 +160,7 @@ Quick answer: Run the following command in fish: -\fish +\fish{cli-dark} echo 'function fish_title;end' > ~/.config/fish/config.fish \endfish @@ -177,7 +177,7 @@ Note that fish has a default titlebar message, which will be used if the fish_ti Change the value of the variable `fish_greeting` or create a `fish_greeting` function. For example, to remove the greeting use: -\fish +\fish{cli-dark} set fish_greeting \endfish @@ -207,7 +207,7 @@ Should you wish to uninstall fish, first ensure fish is not set as your shell. R Next, do the following (assuming fish was installed to /usr/local): -\fish +\fish{cli-dark} rm -Rf /usr/local/etc/fish /usr/local/share/fish ~/.config/fish rm /usr/local/share/man/man1/fish*.1 cd /usr/local/bin diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in index 4c99944ae..326e4d138 100644 --- a/doc_src/index.hdr.in +++ b/doc_src/index.hdr.in @@ -2,6 +2,7 @@ \mainpage Documentation \htmlonly[block]
+