Change swap to be used later
http://doc.ubuntu-fr.org/swap#regler_le_declenchement_du_swap
-
Install zsh:
sudo apt-get install zsh
-
Instal git:
sudo apt-get install git-core
-
Install oh-my-zsh and change default shell to zsh:
wget --no-check-certificate https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh
-
Customize zsh by editing ~/.zshrc (here I just updated the enabled plugins)
...
plugins=(common-aliases composer debian git symfony2)
...
- Your shell will use zsh after a logout/login your session
wget -q -O - https://fixubuntu.com/fixubuntu.sh | bash
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize 2
gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ vsize 2
MacOS like touchpad gestures (couldn't make this working on Ubuntu 14.04 so probably not complete )': )
-
Install touchegg:
sudo apt-get install touchegg
-
Install geis (formely named uTouch before 12.10)
sudo apt-get install geis-tools
-
Run touchegg (it will create the default ~/.config/touchegg/touchegg.conf):
touchegg
-
Create a .gitignore_global file:
touch ~/.gitignore_global
-
Add some patterns to exclude into it:
deps.lock
.idea
# OS X
.DS_Store
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
.buildpath
.project
.settings
-
Tell git to use this file:
git config --global core.excludesfile ~/.gitignore_global
-
Better git diff: https://github.com/paulirish/dotfiles/blob/master/bin/diff-so-fancy
Custom conf for php:
sudo nano /etc/php5/my_conf.ini
date.timezone = Europe/Paris
phar.readonly = Off
session.gc_maxlifetime = 72000;
xdebug.file_link_format=pstorm://%%f:%%l
sudo ln -s /etc/php5/my_conf.ini /etc/php5/apache2/conf.d/20-my_conf.ini