Skip to content

💼 configuration files for terminal and tools, links directly to ~

Notifications You must be signed in to change notification settings

leblancfg/dotfiles

Repository files navigation

dotfiles

💼 configuration files for terminal and tools, links directly to ~. Powered by 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.