Skip to content

Commit

Permalink
some noglob love
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed Dec 4, 2016
1 parent 9560d54 commit 6a92981
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zshrc
Expand Up @@ -30,6 +30,10 @@ alias -g 'NUL'='>/dev/null'
alias -g 'NULL'='NUL'
alias -g 'NIL'='>&/dev/null'

# Make noglob not work like "command" but expand aliases:

alias 'noglob'='noglob '

# Force 256 colors on terminals which typically set an inappropriate TERM:

have_term() {
Expand Down Expand Up @@ -287,7 +291,7 @@ whence gpg.wrapper NUL && compdef gpg.wrapper=gpg
for i in emerge.{wrapper,noprotect}
do whence $i NUL && compdef $i=emerge && alias $i="noglob $i"
done
for i in emerge squashmount squash_dir
for i in emerge squashmount squash_dir wget youtube-dl curl ssh
do whence $i NUL && alias $i="noglob $i"
done
for i in rsync{,p}{,i}{,.bare}.wrapper
Expand Down

0 comments on commit 6a92981

Please sign in to comment.