mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 07:04:29 +00:00
Fix a couple of minor issues in string examples
Print correct return code in 2nd example Remove syntax colouring in \cg Signed-off-by: Mark Griffiths <mark@thebespokepixel.com>
This commit is contained in:
parent
3435e94994
commit
9e93ddc097
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ The following subcommands are available:
|
||||||
|
|
||||||
>_ set str foo
|
>_ set str foo
|
||||||
>_ string length -q $str; echo $status
|
>_ string length -q $str; echo $status
|
||||||
1
|
0
|
||||||
# Equivalent to test -n $str
|
# Equivalent to test -n $str
|
||||||
\endfish
|
\endfish
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ The following subcommands are available:
|
||||||
|
|
||||||
\fish{cli-dark}
|
\fish{cli-dark}
|
||||||
>_ echo \\x07 | string escape
|
>_ echo \\x07 | string escape
|
||||||
<bs>c</bs>g
|
<bs>cg</bs>
|
||||||
\endfish
|
\endfish
|
||||||
|
|
||||||
\subsection string-example-match-glob Match Glob Examples
|
\subsection string-example-match-glob Match Glob Examples
|
||||||
|
|
Loading…
Reference in a new issue