My .dotfiles
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
antibody
bin
functions
git_template/hooks
iterm
powerlinefonts
tmux/tmux-colors-solarized
zsh
.ackrc
.aliases
.bashrc
.editorconfig
.gitchangelog.rc
.gitconfig.example
.gitconfig.govuskuolfi
.gitconfig.tomahawk
.gitignore_global
.gitmodules
.tmux.conf
.vimrc
.zshrc
LICENSE
README.md
install.sh

README.md

My dotfiles

Install

curl -s https://raw.githubusercontent.com/markosamuli/dotfiles/master/install.sh | bash -
  • Install and configure zsh as default shell.
  • Install antibody
  • Create symlinks in ~/.zshrc and ~/.bashrc
  • Create EditorConfig symlink in ~/.editorconfig

Aliases

Custom aliases and functions are in .aliases.

Machine Setup

Download my machine setup Ansible playbooks:

wget https://github.com/markosamuli/machine/archive/master.zip
unzip machine-master.zip
cd machine-master

Or using Git:

git clone git@github.com:markosamuli/machine.git
cd machine

Modify main.yml file to your requirements and run the setup script.

./setup

EditorConfig

Install extensions:

The .editorconfig file should meet Google Style Guides.

Kaleidoscope

I'm using Kaleidoscope as my default diff/merge tool on Mac.

brew install Caskroom/cask/kaleidoscope

Setup iTerm

I'm using iTerm2 as my default terminal on Mac.

brew install Caskroom/cask/iterm2
  • Install powerline fonts from the powerlinefonts directory
  • Import Solarized themes from iterm directory
  • Change iTerm2 font to Meslo LG M DZ Regular for Powerline

tmux

brew install reattach-to-user-namespace

Git

Copy .gitconfig.example file for my aliases and few defaults:

cp ~/.dotfiles/.gitconfig.example ~/.gitconfig

See .gitconfig.govuskuolfi for my OS X specific tools configuration.

ln ~/.dotfiles/.git_template ~/.git_template
ln ~/.dotfiles/.gitchangelog.rc ~/.gitchangelog.rc
ln ~/.dotfiles/.gitignore_global ~/.gitignore_global

My favourite aliases:

  • git co - checkout
  • git ci - commit
  • git s - status
  • git lg - log with nice tree
  • git pullr - pull with rebase
  • git wd - word diff changes
  • git wds - word diff staged changes

License

See License