]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - bootstrap_pi.sh
Shortcut to find large files.
[dotfiles.git] / bootstrap_pi.sh
index b2d0bbb18660730378c0e0d90a74b0b98ae4b22c..d192d9d874c1d6db1c3abaa7287e73754c9e8d7c 100755 (executable)
@@ -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