Clone the repo, switch to a local branch where you can do local edits, and run make
$ git clone https://github.com/kuzeko/dotfiles.git
$ cd dotfiles
$ git checkout -b local
$ make
This will create symlinks from this repo to your home folder.
This repo contains also files/configurations to be deployed globally in the etc
directory.
They may be dangerous for your system, please review the contents in the etc/
folder before proceeding (e.g., check etc/ssh/
).
If you want to proceed go with:
$ make etc
Save env vars, etc in a .extra
file, that looks something like
this:
###
### Git credentials
###
GIT_AUTHOR_NAME="Your Name"
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL="[email protected]"
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.email "$GIT_AUTHOR_EMAIL"
GH_USER="nickname"
git config --global github.user "$GH_USER"
###
### Gmail credentials for mutt
###
export [email protected]
export GMAIL_NAME="Your Name"
export [email protected]
During installation the requirements
entrypoint is also performed, this will check if commons utilities are installed.
If missing, you should install them.
For Docker on ubuntu you can check this handy little guide.
You can run make keygen
entrypoint to have a SSH key generated based on the infos in the .extra
file.
The key will be a of type ed25519
This repo is full of features, opinionated confings, scripts, and functions.
I've broken a couple of them after forking (see the /etc
case).
Each file is fairly documented, if you can understand what the comment is saying.
Things may break unexpectedly because some file somewhere in this repo is overriding some default, you are warned. Yet, a lot of useful things are introduced, you should really look around (maybe on the original repo). Every time I do it, I learn something new!
For jessfraz
.vimrc
and .vim
dotfiles see
github.com/jessfraz/.vim.
This repo embeds conf files for nano
.
Yes, I'm not taking any part in the ``Editor War'': when I code, I don't do it in a terminal.
The tests use shellcheck. You don't need to install anything. They run in a container.
$ make test