/dotfiles

Victor Talamantes' bare git repo with personal configuration files.

Primary LanguageShellMIT LicenseMIT

Victor's dotfiles

Victor Talamantes' bare git repo with personal configuration files.

What are dotfiles? Configuration files with a dot prefix (.) used to personalize your Linux or other Unix-based systems.

Who am I?

Victor Talamantes

I am Victor Talamantes, CEO of Binmatter and founder of Indies Mexico. I'm a programmer and I've worked on hundreds of software projects. I fell in love recently with everything FOSS related and this is my first public repo.

You can find more about my work here:

Binmatter Demo Reel

URL Description
https://www.binmatter.com Apps and videogames company
https://www.indies.mx Mexican videogames initiative
https://www.victortalamantes.com Personal blog (spanish)

Usage

If you are interested in any of my config files, feel free to take a look at them.
The following is the way you can configure a bare repo as mine and/or clone this files to your system.

Create a bare repository

git init --bare $HOME/.dotfilesgit
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfilesgit/ --work-tree=$HOME'
Optionally, we can add our new alias to zsh config file so we don't have to run the command above everytime a shell session is started.
echo "alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfilesgit/ --work-tree=$HOME'" >> $HOME/.zshrc
Using our new alias to complete the configuration by running git commands...
dotfiles config --local status.showUntrackedFiles no'
For adding files to our repo, eg .vimrc file:
dotfiles add .vimrc
Now we can just add our commit, set the remote and push.
dotfiles commit -m "add .vimrc"
...

Installing

Avoid recursive issues by adding .dotfilesgit to global git ignore.
echo ".dotfilesgit" >> .gitignore
Clone this repo using https or ssh
git clone --bare https://github.com/talamantesvictor/dotfiles.git $HOME/.dotfilesgit
Create an alias to run git commands for this repo
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfilesgit/ --work-tree=$HOME
No tracking
dotfiles config --local status.showUntrackedFiles no
Git checkout
dotfiles checkout

Acknowledgment

Special thanks to Derek Taylor from DistroTube for his great content.

Donations

I take pride in being able to help people with the knowledge I have gained over the years. I would gladly appreciate a coffee (or beer) from you.

Buy Me a Coffee at ko-fi.com

License

The files and scripts in this repository are licensed under the MIT License.