Skip to content

xevgeny/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Sync dotfiles with a bare git repo

https://www.atlassian.com/git/tutorials/dotfiles

Starting from scratch

git init --bare $HOME/.dotfiles

# configure alias
alias dot='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'

dot config --local status.showUntrackedFiles no

Install to an existing system

# configure alias
alias dot='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'

git clone --bare git@github.com:xevgeny/dotfiles.git $HOME/.dotfiles

dot config --local status.showUntrackedFiles no

# resolve all conflicts during checkout
dot checkout

Minimal setup

sudo apt-add-repository -y ppa:fish-shell/release-3
sudo apt update
sudo apt install -y htop tmux tig fish
sudo chsh -s /usr/bin/fish
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
omf install https://github.com/jhillyerd/plugin-git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published