My dotfiles
Find a file
2019-12-06 10:33:11 +00:00
powerline Some prior work on powerline 2018-04-14 18:21:43 +01:00
vim Don’t use a colorscheme with vim that might clash with the terminals own scheme 2018-06-20 18:59:08 +01:00
zsh Add used version on macOS 2019-12-06 10:33:11 +00:00
.gitmodules Add vim stuff 2016-05-13 08:23:58 +01:00
bootstrap.sh Add powerline config and update the bootstrap script 2018-01-24 15:27:12 +00:00
brew.sh Add hub and correct vim flags 2018-06-16 21:19:27 +01:00
curlrc Add cURL settings 2016-04-07 21:42:11 +01:00
gitconfig Add some more aliases 2017-03-08 13:27:03 +00:00
gitignore Add a global gitignore 2016-04-08 03:42:12 +01:00
hushlogin Hush login details 2016-04-08 03:37:25 +01:00
LICENSE Initial commit 2016-03-06 12:50:00 +00:00
ncmpcpp Update where music is stored for ncmpcpp 2018-08-13 19:10:38 +01:00
osx.sh Improve inital install of apps/settings 2018-06-16 21:16:40 +01:00
README.md Mention need to create ~/.extra 2016-05-13 13:00:05 +01:00
tmux The screen-256color TERM info works better with some ncurses based apps 2018-01-08 12:13:43 +00:00
zshrc.zsh Check for existing run-help alias before trying to remove 2019-11-16 09:21:54 +00:00

dotfiles

Heres my dotfiles, inspired by people like Mathias. See his dotfiles at https://github.com/mathias/dotfiles.

The idea Im currently going down is to create a symlink from $HOME to this directory. There is one exception to this, the .gitconfig file. This derives from not wanting anyone to accidentally commiting as me to git, that would however require people to use this repo, unlikely. So my git credentials are stored in a .extra file which gets sourced. This then calls the relavent git command, which causes git to edit $HOME/.gitconfig. If that file was a symlink to this repo, then the repo would see the file as edited and the repo would then be in a dirty state, permanently.

Usage

First clone the repo.

As mentioned above my git credentials are stored in an untracked file: $HOME/.extra. This must be manually created, mine looks like:

# Git credentials
GIT_AUTHOR_NAME="Jonny Barnes"
GIT_COMMITER_NAME="$GIT_AUTHOR_NAME"
git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL="jonny@jonnybarnes.uk"
GIT_COMMITER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.email "$GIT_AUTHOR_EMAIL"

Run ./boostrap.sh, this will create all the necessary symlinks, then source .zshrc. This is a destructive process, so backup your dotfiles first.