NOTE: with this history can't be save >.<
mkdir -p $HOME/.cache/sh/- git
- rcm dotfile manager
use rcm directories for certain contexts
- china / sweden for country specific dotfiles
macOS/Ubuntu/WSLfor OS specific dotfiles
tags mostly for language/utility scoping
hosts for different hosts
DOTFILES_DIRS: order-significant(!) OS and regionEXCLUDES: all dirs/files that you don't want to symlink (tags and hosts are excluded by default)SYMLINK_DIRS: dirs/files to symlink e.g. git submodulesTAGS: desired tagsUNDOTTED: files to symlink but w/o dot prefix e.g.bin
git clone --recursive https://github.com/emilrehnberg/dotfiles $HOME/.dotfiles
RCRC=~/.dotfiles/${HOSTNAME}/rcrc rcup
RCRC variable is needed if no .rcrc is available in the home directory
git submodules init
git submodules updateSee OS specific README
mkdir -p $HOME/.ssh
chmod 700 $HOME/.ssh
ssh-keygen -t rsa
ssh-add ~/.ssh/id_rsa$HOME/.ssh/id_rsa– contains your private key.$HOME/.ssh/id_rsa.pub– contain your public key.- to push with SSH, make sure the remote set (
.git/config) is using the SSH link (e.g.git@github.com:EmilRehnberg/dotfiles.git)
neovim is the preferred vi-like editor that I'm using.
see config/nvim/README.md for details.
Think about installation instructions/scripts - where should they live?
- explain other installations for a new installation
- utilities: Dropbox, Google Drive
- misc: spotify, browsers, tex