copy-files: use a more robust check for git repos in vim/package_repos
parent
e0667be971
commit
696f07fa67
|
@ -33,7 +33,12 @@ tree -dL 3 ~/.vim/pack > vim/packages
|
||||||
|
|
||||||
for repo in ~/.vim/pack/*/*/*
|
for repo in ~/.vim/pack/*/*/*
|
||||||
pushd $repo
|
pushd $repo
|
||||||
echo (basename $PWD) "<"(git config --get remote.origin.url)">"
|
echo -n (basename $PWD)" "
|
||||||
|
if test -d .git
|
||||||
|
echo "<"(git config --get remote.(git rev-parse --abbrev-ref "master@{upstream}" | sed 's/\(.*\)\/.*/\1/').url)">"
|
||||||
|
else
|
||||||
|
echo "<no url>"
|
||||||
|
end
|
||||||
popd
|
popd
|
||||||
end | sort > vim/package_repos
|
end | sort > vim/package_repos
|
||||||
|
|
||||||
|
|
|
@ -10,14 +10,14 @@ plastic.vim <https://github.com/flrnprz/plastic.vim>
|
||||||
quantum.vim <https://github.com/kjssad/quantum.vim>
|
quantum.vim <https://github.com/kjssad/quantum.vim>
|
||||||
rainbow <https://github.com/luochen1990/rainbow>
|
rainbow <https://github.com/luochen1990/rainbow>
|
||||||
ranger.vim <https://github.com/francoiscabrol/ranger.vim>
|
ranger.vim <https://github.com/francoiscabrol/ranger.vim>
|
||||||
setcolors
|
setcolors <no url>
|
||||||
tabular <https://github.com/godlygeek/tabular>
|
tabular <https://github.com/godlygeek/tabular>
|
||||||
tagbar <https://github.com/majutsushi/tagbar>
|
tagbar <https://github.com/majutsushi/tagbar>
|
||||||
twitvim <https://github.com/twitvim/twitvim.git>
|
twitvim <https://github.com/twitvim/twitvim.git>
|
||||||
vim-abolish <https://github.com/tpope/vim-abolish.git>
|
vim-abolish <https://github.com/tpope/vim-abolish.git>
|
||||||
vim-airline <https://github.com/vim-airline/vim-airline>
|
vim-airline <https://github.com/vim-airline/vim-airline>
|
||||||
vim-airline-themes <https://github.com/vim-airline/vim-airline-themes>
|
vim-airline-themes <https://github.com/vim-airline/vim-airline-themes>
|
||||||
vim-asm_ca65 <https://github.com/maxbane/vim-asm_ca65>
|
vim-asm_ca65 <git@git.greyserv.net:marrub/vim-asm_ca65_p816.git>
|
||||||
vim-aurora <https://github.com/rafalbromirski/vim-aurora>
|
vim-aurora <https://github.com/rafalbromirski/vim-aurora>
|
||||||
vim-buftabline <https://github.com/ap/vim-buftabline>
|
vim-buftabline <https://github.com/ap/vim-buftabline>
|
||||||
vim-buftabline <https://github.com/ap/vim-buftabline>
|
vim-buftabline <https://github.com/ap/vim-buftabline>
|
||||||
|
|
Loading…
Reference in New Issue