GNU/Linux ◆ xterm-256color ◆ zsh 27 views

Brackets in Bash are file name matching characters! (Like * or ?.)

Except, if they don’t match anything, the text is instead returned as-is (unless shopt -o nullglob is given.)

https://www.gnu.org/software/bash/manual/bash.html#Filename-Expansion