mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +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>
|
||||
begin
|
||||
set -x PIRATE Yarrr
|
||||
set -l PIRATE Yarrr
|
||||
...
|
||||
end
|
||||
# This will not output anything, since PIRATE went out of scope at the end of
|
||||
# the block and was killed
|
||||
# This will not output anything, since the PIRATE variable went out
|
||||
# of scope at the end of the block
|
||||
echo $PIRATE
|
||||
</pre>
|
||||
|
||||
|
|
Loading…
Reference in a new issue