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
/WSL
for 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 update
See 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
)
Stored under sessions
.
Saved vim sessions for different situations, configs, projects or whatever.
used for nvim
pip install pynvim
Under contruction/investigation.
ATM standardjs
is setup.
I like the
style - Seattle style (no semicolons),
has fixing also,
less config.
benri ha benri da.
jshint
seems more popular, using semicolons etc.
jshint
will require .jshintrc
with setups etc.
So maybe I'll use that if I have to.
Doesn't provide fixing, just linting.
Under investigation.
use lintr
and styler
.
visit their download page.
used for notes.
- clone the notes repo (use
wiki
in the url). - set-up a host-specific vimwiki config with settings.
Think about installation instructions/scripts - where should they live?
- explain other installations for a new installation
- utilities: Dropbox, Google Drive
- misc: spotify, browsers, tex