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

https://github.com/leblancfg/dotfiles

:briefcase: configuration files for terminal and tools, links directly to ~
https://github.com/leblancfg/dotfiles

bash dotfiles linux macos symlinks tmux vim zsh

Last synced: 8 months ago
JSON representation

:briefcase: configuration files for terminal and tools, links directly to ~

Awesome Lists containing this project

README

          

# dotfiles
:briefcase: configuration files for terminal and tools, links directly to `~`. Powered by [Dotbot](https://github.com/anishathalye/dotbot).

## Portable configuration files
These days, most of my time is spent in MacOs, with my neglected home computer running Linux. My most used files are:

* `.aliases`, that feeds into either
- `.bashrc` on Linux, or
- `.zshrc` on MacOS
* `.vimrc`
* `.tmux.conf`

## Installation
Running the command below will create symlinks between the dotfiles in this repo, sitting in your home directory — where your applications expect them to be!

# Set up from home folder
cd && git clone https://github.com/leblancfg/dotfiles && ./dotfiles/install

## Updating dotfiles
As they're symlinks, changing your dotfiles from your home directory will in effect change them in the `dotfiles` repo. To update the repo, simply run:

# Push updates to dotfiles
cd ~/dotfiles
git add .
git commit -m 'updating dotfiles'
git push origin master

Aliases to `dfpush`. And conversely, to pull from the repo, run:

# Pull updates from dotfiles
cd ~/dotfiles
git pull --ff-only
./install -q

aliased to `dfpull`.