From 5e4d0464921eae5662aafb0b5ed23f42939092cd Mon Sep 17 00:00:00 2001 From: David Adam Date: Wed, 9 Aug 2017 23:25:00 +0800 Subject: [PATCH] docs: tidy language in `set` notes --- doc_src/set.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc_src/set.txt b/doc_src/set.txt index f1d7d49a9..e335abd99 100644 --- a/doc_src/set.txt +++ b/doc_src/set.txt @@ -109,4 +109,5 @@ end \subsection set-notes Notes -Fish versions prior to 3.0 allowed you to write `set PATH[1 4] /bin /sbin` as `set PATH[1] PATH[4] /bin /sbin`. That alternative syntax is ambiguous and inconsistent. Also, no fish script in the fish project used it. Nor could we find any 3rd-party scripts in the Oh-My-Fish or Fisherman package managers that used that alternative syntax. So it was removed in the 3.0 release. +Fish versions prior to 3.0 supported the syntax `set PATH[1] PATH[4] /bin /sbin`, which worked like +`set PATH[1 4] /bin /sbin`. This syntax was not widely used, and was ambiguous and inconsistent.