mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
docs: Explain globs more in fish-for-bash-users
This commit is contained in:
parent
f4ba2866fc
commit
bf2fa6ef46
1 changed files with 4 additions and 0 deletions
|
@ -115,6 +115,10 @@ will not match any files.
|
|||
|
||||
There are no options to control globbing so it always behaves like that.
|
||||
|
||||
The ``**`` glob will match in subdirectories as well. In other shells this often needs to be turned on with an option, like ``setopt globstar`` in bash.
|
||||
|
||||
Unlike bash, fish will also follow symlinks, and will sort the results in a natural sort, with included numbers compared as numbers. That means it will sort e.g. music tracks correctly even if they have numbers like ``1`` instead of ``01``.
|
||||
|
||||
See :ref:`Wildcards <expand-wildcard>` for more.
|
||||
|
||||
Quoting
|
||||
|
|
Loading…
Reference in a new issue