Skip to content

Latest commit

 

History

History
93 lines (58 loc) · 1.95 KB

README.md

File metadata and controls

93 lines (58 loc) · 1.95 KB

dotfiles

This repository contains all my dot files used in both Linux and Mac.

It contains definitions for:

  • zsh
  • git
  • tmux
  • aliases
  • oh-my-zsh
  • tmux-powerline
  • environment variables (AKA $PATH and others)

Screenshot

Mac OS

how it looks like

Linux

how it looks like

Installation

To it works properly you need to ensure that all prerequisites have been done correctly.

Prerequisites

  • Install zsh and define it as you default shell.
  • Install tmux.
  • Install Font Awesome and define it as your terminal's non ASCII font (It can be done easly in both linux terminal and mac iterm2).
  • If needed, back up the following files from your home directory (they'll be replaced):
~/.zshenv
~/.zshrc
~/.tmux.conf
~/.gitignore

Install

After all prerequisites' steps, clone this repository into your home directory as .terminal:

$ git clone https://github.com/rlazoti/dotfiles ~/.terminal

Edit the file ~/.terminal/home, and add your current home directory (Ex: /home/rlazoti).

Then run the script below to create all symbolic links and install its dependencies:

$ ~/.terminal/install.zsh

Restart your terminal and have fun! :)

MacOS Users

To add opendiff as your default difftool/mergetool, run the following commands:

git config --global diff.tool opendiff
git config --global merge.tool opendiff
git config --global difftool.prompt false
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/

Iterm2 Settings

Open iterm2 settings and change "Load preferences from a custom folder or URL" field to

~/.terminal/iterm2-preferences

Author

Rodrigo Lazoti - [email protected]