1 # Reminder to future self:
2 # Step 0: git clone https://github.com/edthedev/dotfiles
3 # Step 1: Run this bootstrap script.
5 echo "Git, vi are already installed."
8 if [ ! -d ~
/dotfiles
]; then
9 sudo apt
-get install git vim
-nox
10 cd ~
; git clone git@github.com
:edthedev
/dotfiles.git
13 # sudo apt-get install vim-nox
15 if [ ! -f ~
/.vimrc
]; then
16 git config
--global user.email
"edward@delaporte.us"
17 git config
--global user.name
"Edward Delaporte"
18 git config
--global core.editor
/usr
/bin
/vim
19 ln -s ~
/dotfiles
/vimrc ~
/.vimrc
22 if [ ! -f ~
/.i3
]; then
23 sudo apt
-get install i3
27 if [ ! -f ~
/.config
/powershell
/Microsoft.PowerShell_profile.ps1
]; then
28 sudo apt
-get install powershell
29 chsh
--shell /usr
/bin
/pwsh
30 mkdir -p ~
/.config
/powershell
/
31 ln -s ~
/dotfiles
/Microsoft.PowerShell_profile.ps1 ~
/.config
/powershell
/Microsoft.PowerShell_profile.ps1
35 if [ ! -f ~
/.ssh
/id_rsa
]; then
39 ## Setup Remote Access
40 # if [ ! -f ~/id_rsa.pub ]; then
41 # cp ~/dotfiles/id_rsa.pub ~/id_rsa.pub
42 # chmod go+r ~/id_rsa.pub
46 if [ ! -f ~
/.screenrc
]; then
47 sudo apt
-get install screen
48 ln -s ~
/dotfiles
/screenrc ~
/.screenrc
51 ## Setup Vundle for Vim
52 if [ ! -d ~
/.vim
/bundle
]; then
53 git clone https
://github.com
/gmarik
/Vundle.vim.git ~
/.vim
/bundle
/Vundle.vim
54 vim
+BundleInstall
+qall