Added progress bar instead of printf

This commit is contained in:
Austen Adler 2015-09-04 18:20:08 +00:00
parent 33298a197d
commit aa5c7009d0

View File

@ -277,20 +277,28 @@ function k(){
} }
#source ~/.zsh/*.zsh #source ~/.zsh/*.zsh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
printf "git-annex..." echo -ne '[# ]\r'
#printf "git-annex..."
antigen bundle Schnouki/git-annex-zsh-completion antigen bundle Schnouki/git-annex-zsh-completion
printf "omg..." echo -ne '[## ]\r'
#printf "omg..."
antigen bundle stonewareslord/omg antigen bundle stonewareslord/omg
printf "theme.." echo -ne '[### ]\r'
#printf "theme.."
antigen theme stonewareslord/oh-my-git-themes af-magic antigen theme stonewareslord/oh-my-git-themes af-magic
printf "lpr..." echo -ne '[#### ]\r'
#printf "lpr..."
antigen bundle stonewareslord/lpr antigen bundle stonewareslord/lpr
printf "zsh-completions..." echo -ne '[##### ]\r'
#printf "zsh-completions..."
antigen bundle zsh-users/zsh-completions src antigen bundle zsh-users/zsh-completions src
printf "autoenv..." echo -ne '[###### ]\r'
#printf "autoenv..."
antigen bundle sharat87/autoenv antigen bundle sharat87/autoenv
printf "syntax-highlighting..." echo -ne '[####### ]\r'
#printf "syntax-highlighting..."
antigen bundle zsh-users/zsh-syntax-highlighting antigen bundle zsh-users/zsh-syntax-highlighting
printf "applying..." echo -ne '[########]\r'
#printf "applying..."
antigen apply antigen apply
echo "done" echo