mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Minor doc fixes
This commit is contained in:
parent
0277fe3ca9
commit
fc7be1c2a3
2 changed files with 5 additions and 3 deletions
|
@ -54,9 +54,11 @@ The following code will create ``rmi``, which runs ``rm`` with additional argume
|
||||||
rm -i $argv
|
rm -i $argv
|
||||||
end
|
end
|
||||||
|
|
||||||
|
``alias`` sometimes requires escaping, as you can see here::
|
||||||
|
|
||||||
# This needs to have the spaces escaped or "Chrome.app..."
|
# This needs to have the spaces escaped or "Chrome.app..."
|
||||||
# will be seen as an argument to "/Applications/Google":
|
# will be seen as an argument to "/Applications/Google":
|
||||||
alias chrome='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome banana'
|
alias chrome='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome'
|
||||||
|
|
||||||
|
|
||||||
See more
|
See more
|
||||||
|
|
|
@ -46,7 +46,7 @@ spawns ``sleep`` in the background, and then waits until it finishes.
|
||||||
for i in (seq 1 5); sleep 10 &; end
|
for i in (seq 1 5); sleep 10 &; end
|
||||||
wait
|
wait
|
||||||
|
|
||||||
spawns five jobs in the background, and then waits until all of them finishes.
|
spawns five jobs in the background, and then waits until all of them finish.
|
||||||
|
|
||||||
|
|
||||||
::
|
::
|
||||||
|
@ -55,4 +55,4 @@ spawns five jobs in the background, and then waits until all of them finishes.
|
||||||
hoge &
|
hoge &
|
||||||
wait sleep
|
wait sleep
|
||||||
|
|
||||||
spawns five jobs and ``hoge`` in the background, and then waits until all ``sleep``\s finish, and doesn't wait for ``hoge`` finishing.
|
spawns five ``sleep`` jobs and ``hoge`` in the background, and then waits until all ``sleep``\s finish, and doesn't wait for ``hoge``.
|
||||||
|
|
Loading…
Reference in a new issue