LoginSignup
0
0

zsh の (N-/)

Posted at

検索で見つかっても、ワードが微妙に異なり、マニュアルの中で見つけられなかったのでメモ

章としては expansion

man zshexpn

このなかの FILENAME GENERATION ファイル名生成 Glob Qualifiers

- と / は良いとして N は set NULL_GLOB オプションとなっていてさらに調べる必要がある。

NULL_GLOB オプションの説明は別の章 options に記載がある。

man zshoptions

説明は

If a pattern for filename generation has no matches,
delete the pattern from the argument list
instead of reporting an error. Overrides NOMATCH.

ファイル生成でパターンマッチしなければ、エラーにする代わりに削除するとなっている。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0