From a2cb74e361eab60c5b75cc6ba99a5609cea01c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20P=C5=82azie=C5=84ski?= Date: Fri, 19 May 2017 22:55:24 +0200 Subject: [PATCH] Move git to noglob commands --- .zshrc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.zshrc b/.zshrc index c6dc7dd..40cc4f0 100644 --- a/.zshrc +++ b/.zshrc @@ -475,9 +475,6 @@ alias reset='echo -e "\e<"; reset; stty sane; setterm -reset; tput reset; clear; alias xclip-in='xclip -selection c -in' alias xclip-out='xclip -selection c -out' -# Git manages its own globs -alias git='noglob git' - #---------------------------------- VIM pager -------------------------------- vim_pager() { @@ -562,8 +559,8 @@ REPORTTIME=5 TIMEFMT=$(echo "$fg[green]${SEGMENT_SEPARATOR_BACKWARD}$bg[green]$fg[black] %*Es $fg[yellow]$SEGMENT_SEPARATOR_BACKWARD$bg[yellow]$fg[black] %P $reset_color") -# Don't glob with find or wget -for command in find wget; \ +# Don't glob with commands that expects glob patterns +for command in find wget git; \ alias $command="noglob $command" # load zsh extended move