Format:
code --install-extension adpyke.codesnap --force &
code --install-extension alefragnani.Bookmarks --force &
code --install-extension arturock.gitstash --force &
code --install-extension csholmq.excel-to-markdown-table --force
Currently, I'm doing code --list-extensions | xargs -L 1 echo code --install-extension > install-extensions.sh
to get the extensions printed to install-extensions.sh
and manually add --force &
at end of lines in that file, that's the furthest I can get.
I'm not very familiar with the bash syntax, could anyone please shed some light?