mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 09:12:11 +08:00
docs: Some minor stuff in fish_for_bash_users
This commit is contained in:
parent
615e8b2e8b
commit
f4c8dc72a7
@ -216,7 +216,6 @@ Fish has a POSIX-compatible ``test`` or ``[`` builtin. There is no ``[[`` and ``
|
||||
|
||||
Arithmetic Expansion
|
||||
--------------------
|
||||
-
|
||||
|
||||
Fish does not have ``$((i+1))`` arithmetic expansion, computation is handled by :ref:`math <cmd-math>`::
|
||||
|
||||
@ -227,6 +226,11 @@ It can handle floating point numbers::
|
||||
> math 5 / 2
|
||||
2.5
|
||||
|
||||
And also hase some functions, like for trigonometry::
|
||||
|
||||
> math cos 2 x pi
|
||||
1
|
||||
|
||||
Prompts
|
||||
-------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user