My dotfiles
Find a file
2023-07-09 07:26:57 +01: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 functions to start/stop and ssh socks proxy 2023-04-23 13:31:23 +01:00
.gitmodules Add vim stuff 2016-05-13 08:23:58 +01:00
bootstrap.sh Check directories exist during sym-linking step 2023-05-21 18:23:22 +01: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 Setup allowed signers file for commit/tag verification 2022-06-06 17:30:48 +01: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
sheldon.toml Add sheldon config file, fix PATH setup 2022-07-16 11:34:53 +01:00
starship.toml Add starship config 2021-11-07 18:24:37 +00:00
tmux Fix error sourcing the fig tmux file if it does not exist 2023-06-23 18:05:37 +01:00
zshrc.zsh Temporarily disable zsh-autosuggestions 2023-07-09 07:26:57 +01: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.