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 ~
- Host: GitHub
- URL: https://github.com/leblancfg/dotfiles
- Owner: leblancfg
- Created: 2016-08-15T12:38:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-12-04T19:43:23.000Z (over 1 year ago)
- Last Synced: 2025-02-06T03:35:21.107Z (over 1 year ago)
- Topics: bash, dotfiles, linux, macos, symlinks, tmux, vim, zsh
- Language: CSS
- Homepage:
- Size: 1.75 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.