An open API service indexing awesome lists of open source software.

https://github.com/rlazoti/dotfiles

This repository contains all my dot files used in both Linux and Mac
https://github.com/rlazoti/dotfiles

dotfiles linux macosx shell tmux zsh

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

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](https://raw.githubusercontent.com/rlazoti/dotfiles/master/screenshot-mac.png)

#### Linux

![how it looks like](https://raw.githubusercontent.com/rlazoti/dotfiles/master/screenshot-linux.png)

Installation
=============

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

### Prerequisites

* Install **[zsh](http://www.zsh.org/)** and define it as you default shell.
* Install **[tmux](https://tmux.github.io/)**.
* Install **[Font Awesome](http://fontawesome.io/)** 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):

```sh
~/.zshenv
~/.zshrc
~/.tmux.conf
~/.gitignore
```

### Install

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

```sh
$ 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:

```sh
$ ~/.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 - rodrigolazoti@gmail.com