Skip to content

harman28/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.dotfiles

My dotfiles.

> git clone https://github.com/harman28/.dotfiles.git ~/.dotfiles
> echo 'source ~/.dotfiles/bashrc' >> ~/.bashrc
> cd ~/.dotfiles; git update-index --assume-unchanged

You're done.

Want a nice hosts file that blocks a bunch of ads?

> sudo ln -s ~/.dotfiles/extra/hosts /etc/hosts
> # sudo cat ~/.dotfiles/extra/hosts >> /etc/hosts

For the full setup, do this instead

> . ~/.dotfiles/setup.sh

It is completely untested though, so good luck with that.

That bashrc.vars file

I use the vars to hold secrets, i.e. usually passwords, access tokens and the like. The repo is public, so the file you see is a dummy one, and it's gitignored. After cloning, you can update it with your actual secrets and use it directly.

If you've got Dropbox or Drive set up, it might be a good idea to keep bashrc.vars in your synced folder, and run something like this.

ln -s ~/Dropbox/vars/bashrc.vars ~/.dotfiles/files/bashrc.vars

This way you don't need to worry about those secrets being the only part of the repo not backed up on Github.

TODO

  • Add setup script. Lol.

About

My dot files. Not invisible.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published