X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/1b815a3ed1ebd06c7ccd2727245dbeca5adcb672..e2461d0ea44718bf82bc37cd2eab811fc4508a7b:/bootstrap_pi.sh diff --git a/bootstrap_pi.sh b/bootstrap_pi.sh index b2d0bbb..d192d9d 100755 --- a/bootstrap_pi.sh +++ b/bootstrap_pi.sh @@ -4,6 +4,8 @@ echo "Git, vi are already installed." +mkdir -p ~/.installed + ## Setup Git and Vim if [ ! -d ~/dotfiles ]; then sudo apt-get install git vim-nox @@ -19,6 +21,11 @@ if [ ! -f ~/.vimrc ]; then ln -s ~/dotfiles/vimrc ~/.vimrc fi +if [ ! -f ~/.installed/i3 ]; then + sudo apt-get install i3 + touch ~/.installed/i3 +fi + ## Setup PowerShell if [ ! -f ~/.config/powershell/Microsoft.PowerShell_profile.ps1 ]; then sudo apt-get install powershell @@ -49,3 +56,17 @@ if [ ! -d ~/.vim/bundle ]; then git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim vim +BundleInstall +qall fi + +if [ ! -d ~/.installed/code ]; then + # sudo apt install snapd + # sudo snap install --classic code + wget https://packagecloud.io/headmelted/codebuilds/gpgkey -O - | sudo apt-key add - + curl -L https://raw.githubusercontent.com/headmelted/codebuilds/master/docs/installers/apt.sh | sudo bash + touch ~/.installed/code +fi + +echo "https://github.com/settings/keys" +echo "vim .git/config -- add: url = git@github.com:edthedev/dotfiles.git" +cat ~/.ssh/id_rsa.pub + +ls -al ~/.installed