Commit 51c55ad1 authored by Jim Myhrberg's avatar Jim Myhrberg
Browse files

Suppress "zsh: no matches found" error when $ZSH_CUSTOM has no files

The addition of `(.N)` enables the `NULL_GLOB` option which suppresses
the error output in question.

Reference: http://www.zsh.org/mla/users/2004/msg00621.html
parent 1120f973
...@@ -51,7 +51,7 @@ for plugin ($plugins); do ...@@ -51,7 +51,7 @@ for plugin ($plugins); do
done done
# Load all of your custom configurations from custom/ # Load all of your custom configurations from custom/
for config_file ($ZSH_CUSTOM/*.zsh) source $config_file for config_file ($ZSH_CUSTOM/*.zsh(.N)) source $config_file
# Load the theme # Load the theme
if [ "$ZSH_THEME" = "random" ] if [ "$ZSH_THEME" = "random" ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment