mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix broken example in the documentation for the begin builtin
darcs-hash:20061211134723-ac50b-6ea37b6dca30a85d00651129a762d8a9d95d40a2.gz
This commit is contained in:
parent
f4af7603da
commit
3a29028f60
1 changed files with 3 additions and 3 deletions
|
@ -23,11 +23,11 @@ scope, they will be automatically deleted when the block ends.
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
begin
|
begin
|
||||||
set -x PIRATE Yarrr
|
set -l PIRATE Yarrr
|
||||||
...
|
...
|
||||||
end
|
end
|
||||||
# This will not output anything, since PIRATE went out of scope at the end of
|
# This will not output anything, since the PIRATE variable went out
|
||||||
# the block and was killed
|
# of scope at the end of the block
|
||||||
echo $PIRATE
|
echo $PIRATE
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue