Skip to content
This repository was archived by the owner on Aug 17, 2022. It is now read-only.

stvmachine/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My dotfiles/config files

Usage

config is an aliased git command, use it just like git eg:

config status
config add .vimrc
config commit -m "Add vimrc"
config add .bashrc
config commit -m "Add bashrc"
config push

Setting up a new machine

Clone the repo and add the config command to current shell

git clone --bare git@github.com:stvmachine/dotfiles.git $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'

Checkout branch, if there are any conflicts (i.e. a .zshrc already exists) the existing files will need to be removed

config checkout

Turn off show untracked so setup is nicer to use

config config --local status.showUntrackedFiles no

Source

This setup is based on: https://www.atlassian.com/git/tutorials/dotfiles

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors