echo "Git, vi are already installed."
+mkdir -p ~/.installed
+
## Setup Git and Vim
if [ ! -d ~/dotfiles ]; then
sudo apt-get install git vim-nox
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
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