Skip to content

a backup of some ZSH, TMUX and VIM config files

Notifications You must be signed in to change notification settings

hakilebara/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My dotfiles

My configuration of ZSH TMUX and VIM

Configuration

The dotfiles configuration uses an elegant idea from StreakyCobra on Hacker News https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/

git init --bare $HOME/.cfg
alias dotfiles='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
dotfiles config --local status.showUntrackedFiles no
echo "alias dotfiles='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'" >> $HOME/.bashrc

Usage

dotfiles is a alias to the git command

dotfiles st
dotfiles add .vimrc
dotfiles ci -m "Update .vimrc"
dotfiles push

About

a backup of some ZSH, TMUX and VIM config files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published