diff --git a/cookbooks/user/templates/default/.zshrc.erb b/cookbooks/user/templates/default/.zshrc.erb index 0eab653..68b4c3a 100644 --- a/cookbooks/user/templates/default/.zshrc.erb +++ b/cookbooks/user/templates/default/.zshrc.erb @@ -45,6 +45,9 @@ compinit # correction setopt correct # try to correct misspelt commands +# globbing +setopt no_nomatch # if glob expasion results in 0 results, don't give an error (useful for scp remote:*) + ######################## # source computer-specific configurations if [ ${#$(print ~/.zshrc_*(.N))} -gt 0 ]; then