mirror of
https://github.com/zdharma-continuum/zinit-configs.git
synced 2025-01-31 04:08:16 +01:00
9 lines
233 B
Bash
9 lines
233 B
Bash
# DESC: Queries mdfind by kMDItemDisplayName; supports -i (case insensitive search)
|
|
# vim:ft=zsh:et:sw=4:sts=4
|
|
|
|
if [ $1 = "-i" ]; then
|
|
shift
|
|
mdfind "kMDItemDisplayName == '$@'c"
|
|
else
|
|
mdfind "kMDItemDisplayName == $@"
|
|
fi
|