1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash # my repo cd $SETTING_DIR && git pull --quiet || echo in `pwd` > /dev/tty & if [ -d ~/vimwiki ]; then cd ~/vimwiki && git pull --quiet || echo in `pwd` > /dev/tty & fi # others repo check_upstream ~/git/tig || echo in `pwd` > /dev/tty & check_upstream ~/.vim_runtime || echo in `pwd` > /dev/tty &