Setup steps:
-
install
brew
if not installed,ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install
zsh
if not installedbrew install zsh
-
Install oh-my-zsh:
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
Then create a new Zsh configuration
for rcfile in $HOME/dev/dotfiles/prezto/*; do ln -s "$rcfile" "$HOME/.$(basename $rcfile)"; done
-
Create a local
zshrc
copycp -f $HOME/dev/dotfiles/.zsh-dummy $HOME/.zshrc
-
Take immediate effective
source ~/.zshrc
Resume global git configuration (name, email, etc.) before using it.
ln -sf $(pwd)/.gitconfig ~/.gitconfig
-
Install latest Vim from brew
brew install vim
-
Syslink
.vim/ftplugin
and.vim/plugin
mkdir ~/.vim ln -sf $(pwd)/vim/ftplugin ~/.vim ln -sf $(pwd)/vim/plugin ~/.vim
-
Install Vundle
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
-
Syslink
.vimrc
ln -sf $(pwd)/.vimrc ~/.vimrc
-
Install Vim plug-ins
vim +PluginInstall +qall
-
Compile
YouCompleteMe
before using:cd ~/.vim/bundle/YouCompleteMe brew install cmake sudo apt-get install build-essential cmake python-dev python3-dev ./install.py --clang-completer
-
Install
ctags
:brew install ctags sudo pacman -Syu ctags
A very good collection of color schemes is found here
cd /tmp
git clone git@github.com:metalelf0/gnome-terminal-colors.git
cd gnome-terminal-colors
./install.sh
-
Syslink conf
ln -sf $HOME/dev/dotfiles/.tmux.conf ~/.tmux.conf
You can import solarized color scheme if you like.
- gtk+ theming
I like the Ceti-2 themes from AUR
yaourt ceti-2
Then syslink the following configuration files:
ln -sf /home/fan/dev/dotfiles/.gtkrc-2.0 ~/.gtkrc-2.0
ln -sf /home/fan/dev/dotfiles/.config/gtk-3.0/settings.ini ~/.config/gtk-3.0/settings.ini
See http://wiki.archlinux.org/index.php/GTK%2B for more details.