Skip to content
/ dots Public

Creates a CLI environment for managing dotfiles using git on Linux

Notifications You must be signed in to change notification settings

atomgomba/dots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

·⦁•⚫● DOTS ●⚫•⦁·

Creates a CLI environment for managing dotfiles using git on Linux. It adds an alias called dots to the shell to interact with a git repository located at $HOME/.dotfiles.

Run the setup script using wget:

wget -qO - https://raw.githubusercontent.com/atomgomba/dots/master/setup.sh | sh

Or curl:

curl -s https://raw.githubusercontent.com/atomgomba/dots/master/setup.sh | sh

What the setup script does is basically the following:

git init --bare ~/.dotfiles
git --git-dir=~/.dotfiles config status.showUntrackedFiles no
alias dots=git --git-dir=~/.dotfiles

Example usage

# push a change in vim settings
dots add ~/.vimrc
dots commit -m "vimrc: show line numbers by default"
dots push

About

Creates a CLI environment for managing dotfiles using git on Linux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages