Skip to content

Instantly share code, notes, and snippets.

@bltavares
Last active October 4, 2015 22:07
Show Gist options
  • Save bltavares/2706792 to your computer and use it in GitHub Desktop.
Save bltavares/2706792 to your computer and use it in GitHub Desktop.
Ubuntu Post-install
git config --global user.name "Bruno Tavares"
git config --global alias.s "status -sb"
git config --global alias.ci commit
git config --global alias.co checkout
git config --global alias.l log
git config --global alias.graph "log --graph --decorate --oneline --branches"
git config --global alias.df "diff --cached --color-words"
git config --global alias.dff "diff --color-words"
git config --global color.ui always
git config --global core.excludesfile ~/.gitignore_global
# Packages
#
# sudo apt-get install aptitude
# sudo aptitude install tmux zsh git-core vim-gnome curl mplayer awk vim-gtk meld
echo -e "remove Lock = Caps_Lock\nkeysym Caps_Lock = Escape" >> .Xmodmap
mkdir -p bin
curl http://defunkt.io/hub/standalone -sLo bin/hub && chmod +x ./bin/hub
curl https://raw.github.com/simonwhitaker/gitignore-boilerplates/master/gibo -so bin/gibo && chmod +x bin/gibo && ./bin/gibo -u
gconftool -t string --set /desktop/gnome/keybindings/custom0/action 'gnome-terminal --full-screen -x bash -c "tmux attach -t bruno || tmux new -s bruno"'
gconftool -t string --set /desktop/gnome/keybindings/custom0/binding "<Shift>Return"
gconftool -t string --set /desktop/gnome/keybindings/custom0/name "Tron-FullScreen"
gconftool -t string --set /desktop/gnome/keybindings/custom0/action 'gnome-terminal --full-screen -x bash -c "tmux attach -t bruno || tmux new -s bruno"'
gconftool -t string --set /desktop/gnome/keybindings/custom0/binding "<Super>Return"
gconftool -t string --set /desktop/gnome/keybindings/custom0/name "Tron-FullScreen"
gconftool -t string --set /apps/metacity/global_keybindings/show_desktop "<Super>D"
gconftool -t string --set /apps/metacity/window_keybindings/unmaximize "<Super>Down"
gconftool -t string --set /apps/metacity/window_keybindings/maximize "<Super>Up"
gconftool -t string --set /apps/metacity/window_keybindings/toggle_fullscreen "<Alt>Escape"
gconftool -t string --set /apps/metacity/global_keybindings/cycle_windows "<super>Escape"
gconftool-2 --set --type=bool /apps/compiz-1/plugins/unityshell/screen0/options/shortcut_overlay FALSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment