systemSetup

system setup, configuration and dotfiles
git clone https://noulin.net/git/systemSetup.git
Log | Files | Refs | README | LICENSE

3-home.sh (1349B)


      1 ./updateHome.sh
      2 
      3 #install vim vundle
      4 git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
      5 
      6 # in vim run :PluginInstall
      7 echo 'in vim run :PluginInstall'
      8 
      9 # fzf
     10 git clone https://github.com/junegunn/fzf.git
     11 cd fzf
     12 ./install --all
     13 cd ..
     14 
     15 # setup diff-so-fancy in gitconfig
     16 ## commented because it is in .gitconfig
     17 git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"
     18 git config --global color.ui true
     19 
     20 git config --global color.diff-highlight.oldNormal "red bold"
     21 git config --global color.diff-highlight.oldHighlight "red bold 52"
     22 git config --global color.diff-highlight.newNormal "green bold"
     23 git config --global color.diff-highlight.newHighlight "green bold 22"
     24 
     25 git config --global color.diff.meta "227"
     26 git config --global color.diff.frag "magenta bold"
     27 git config --global color.diff.commit "227 bold"
     28 git config --global color.diff.old "red bold"
     29 git config --global color.diff.new "green bold"
     30 git config --global color.diff.whitespace "red reverse"
     31 git config --bool --global diff-so-fancy.markEmptyLines false
     32 git config --bool --global diff-so-fancy.changeHunkIndicators false
     33 git config --bool --global diff-so-fancy.stripLeadingSymbols false
     34 git config --bool --global diff-so-fancy.useUnicodeRuler false
     35 
     36 cd ~/
     37 ln -s .bashrc .bash_profile
     38 
     39 # change default shell to bash
     40 chsh -s /usr/local/bin/bash