Skip to content

Instantly share code, notes, and snippets.

@denoww
Last active January 11, 2022 22:04
Show Gist options
  • Save denoww/1367917c043701b82369fa4484050e95 to your computer and use it in GitHub Desktop.
Save denoww/1367917c043701b82369fa4484050e95 to your computer and use it in GitHub Desktop.
folder=~/.config/sublime-text
# folder=~/.config/sublime-text-3
# limpa configuração anterior caso tiver sido feita
rm -rf $folder/.git
rm -rf $folder/Installed\ PackagesOLD
rm -rf $folder/PackagesOLD
rm -rf $folder/.gitignore
rm -rf $folder/README.md
# Nova configuração
mv $folder/Installed\ Packages/ $folder/Installed\ PackagesOLD
mv $folder/Packages/ $folder/PackagesOLD
git -C $folder init
git -C $folder remote add origin [email protected]:denoww/sublime_rodrigo.git
git -C $folder pull origin master
# snipets
git -C $folder/Packages/User clone [email protected]:denoww/sc-sublime-snippets.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment