TODO :
-
rajouter les plugins pour vim
- faire le tri des extensions pour vim
-
rajouter une config pour byobu
-
rajouter les extensions de sublime text (http://zanshin.net/2012/08/03/adding-sublime-text-2-settings-themes-plugins-to-dotfiles/)
- faire le tri des extensions st
-
rajouter ?
~/.shellrc/rc.d
as an include.d style directory for scripts used by all shells~/.shellrc/bashrc.d
as an include.d style directory for bashrc scripts~/.shellrc/zsh.d
as an include.d style directory for zshrc scripts~/.shellrc/login.d
as an include.d style directory for shared zlogin/bash_profile scripts~/.shellrc/vim.d
as an include.d style directory for vim scripts
- vim
- zsh
- oh-my-zsh
- sublime text 2
sudo add-apt-repository ppa:webupd8team/sublime-text-2 && sudo apt-get update
sudo apt-get install sublime-text vim zsh
chsh -s `which zsh` # change zsh to default shell /!\ log out and in to see changes
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" # from https://github.com/robbyrussell/oh-my-zsh
cd $HOME
git clone --recursive git://github.com/ice3/shellrc.git .shellrc # to clone submodules
for file in ~/.shellrc/dotfiles/*
do
ln -sf "$file" $HOME/.`basename "$file"`
done
# bash config
ln -sf ~/.shellrc/dotfiles/bashrc .bashrc
ln -sf ~/.shellrc/dotfiles/bash_profile .bash_profile
ln -sf ~/.shellrc/dotfiles/inputrc .inputrc
# zsh config
ln -sf ~/.shellrc/dotfiles/zshrc .zshrc
ln -sf ~/.shellrc/dotfiles/zlogin .zlogin
ln -sf ~/.shellrc/dotfiles/oh-my-zsh/themes/crunch_hostname.zsh-theme .oh-my-zsh/themes/crunch_hostname.zsh-theme
#vim
ln -sf ~/.shellrc/dotfiles/vimrc .vimrc
ln -sf ~/.shellrc/dotfiles/vim .vim
#git
ln -sf ~/.shellrc/dotfiles/gitignore .gitignore
ln -sf ~/.shellrc/dotfiles/gitconfig .gitconfig
#byobu
ln -sf ~/.shellrc/dotfiles/byobu .byobu
# .config files
ln -sf ~/.shellrc/config/flake8 $HOME/.config/flake8
ln -sf ~/.shellrc/config/redshift.conf $HOME/.config/redshift.conf
- bashrc
- bash_profile
- input_rc
- zshrc
- zlogin
- vimrc
- vim folder (bootstrap bundle/vundle package manager)
- vim.d folder
- in ViM, to install :
<esc>:BundleInstall<enter>
- to install powerline fonts :
cd ~/.shellrc/vim.d/fonts && ./install.sh
then change the font in the terminal (for gnome term : "Edit > Edit Profile > Font"
- gitconfig
- config/sublime-text-{2, 3}/Packages/User/
- languages settings
- keymaps and general settings
- package control config
- to install
mv $HOME/.shellrc/config/sublime-text-2/Packages/User{,.bak}
ln -sf $HOME/.shellrc/config/sublime-text-2/Packages/User $HOME/.config/sublime-text-2/Packages/User
##############
mv $HOME/.shellrc/config/sublime-text-3/Packages/User{,.bak}
ln -sf $HOME/.shellrc/config/sublime-text-3/Packages/User $HOME/.config/sublime-text-3/Packages/User