批量更新通过pathogen.vim管理的vim插件
#!/bin/bash git_repos=(`find . -name ".git" -print | sed 's/.git//g'`); for git_repo in "${git_repos[@]}" do echo -n "$git_repo" && echo -n " " && cd "$git_repo" && git pull cd .. done
批量更新通过pathogen.vim管理的vim插件
#!/bin/bash git_repos=(`find . -name ".git" -print | sed 's/.git//g'`); for git_repo in "${git_repos[@]}" do echo -n "$git_repo" && echo -n " " && cd "$git_repo" && git pull cd .. done