Fix spelling of wheel in Wildcards docs

This commit is contained in:
Josh Leichtung 2021-04-17 22:10:53 -07:00 committed by Fabian Homborg
parent 7a556ec6f2
commit f99127a158

View File

@ -445,7 +445,7 @@ When a parameter includes an :ref:`unquoted <quotes>` ``*`` star (or "asterisk")
- ``?`` can match any single character except ``/``. This is deprecated and can be disabled via the ``qmark-noglob`` :ref:`feature flag<featureflags>`, so ``?`` will just be an ordinary character.
Other shells, such as zsh, have a much richer glob syntax, like ``**(.)`` to only match regular files. Fish does not. Instead of reinventing the whell, use programs like ``find`` to look for files. For example::
Other shells, such as zsh, have a much richer glob syntax, like ``**(.)`` to only match regular files. Fish does not. Instead of reinventing the wheel, use programs like ``find`` to look for files. For example::
function ff --description 'Like ** but only returns plain files.'
# This also ignores .git directories.