Move git to noglob commands

This commit is contained in:
Paweł Płazieński 2017-05-19 22:55:24 +02:00
parent 6c78304efe
commit a2cb74e361

7
.zshrc
View File

@ -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-in='xclip -selection c -in'
alias xclip-out='xclip -selection c -out' alias xclip-out='xclip -selection c -out'
# Git manages its own globs
alias git='noglob git'
#---------------------------------- VIM pager -------------------------------- #---------------------------------- VIM pager --------------------------------
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") 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 # Don't glob with commands that expects glob patterns
for command in find wget; \ for command in find wget git; \
alias $command="noglob $command" alias $command="noglob $command"
# load zsh extended move # load zsh extended move