Skip to content

Commit

Permalink
Don't give glob errors for remote scp globs
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyates committed Nov 3, 2012
1 parent 593859d commit 30900ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cookbooks/user/templates/default/.zshrc.erb
Expand Up @@ -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
Expand Down

0 comments on commit 30900ff

Please sign in to comment.