From b41b96233616f26e52663c133f7a29d32b0e9142 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 29 Feb 2016 00:12:26 +0100 Subject: Clarify example in $PATH tutorial See #2777 --- doc_src/tutorial.hdr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc_src') 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). -- cgit v1.2.3