diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2016-02-29 00:12:26 +0100 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2016-02-29 00:12:26 +0100 |
commit | b41b96233616f26e52663c133f7a29d32b0e9142 (patch) | |
tree | b91047f043199fa53f59651d4b2b170dc6971bf1 /doc_src | |
parent | 5446841069beb323f7237de1215e46cc70cf9440 (diff) |
Clarify example in $PATH tutorial
See #2777
Diffstat (limited to 'doc_src')
-rw-r--r-- | doc_src/tutorial.hdr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc_src/tutorial.hdr b/doc_src/tutorial.hdr index f31ad5b8..8877b0b4 100644 --- a/doc_src/tutorial.hdr +++ b/doc_src/tutorial.hdr @@ -528,10 +528,10 @@ You can choose among some sample prompts by running `fish_config prompt`. `fish` `$PATH` is an environment variable containing the directories in which `fish` searches for commands. Unlike other shells, $PATH is a [list](#tut_lists), not a colon-delimited string. -To prepend to `$PATH`, you can write: +To prepend /usr/local/bin and /usr/sbin to `$PATH`, you can write: \fish{cli-dark} ->_ set PATH /new/path $PATH +>_ set PATH /usr/local/bin /usr/sbin $PATH \endfish You can do so directly in `config.fish`, like you might do in other shells with `.profile`. See [this example](#path_example). |