This is primararely used to backup personal dotfiles. Don't use it unless you know what you're doing.
Clone repo
git clone https://github.com/nLamprok/dotfiles.git
macOS settings
sh macos/macos
# Then log user out and back in for all changes to apply
Install Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install brew apps (using Brewfile
from this repo). Just run (in this directory):
brew bundle
Symlink all the things you need:
config/
folder contains configuration of most of the things (symlink contents to~/.config
)git/
folder has some useful git configuration (symlink to~/.gitconfig
&~/.gitignore_global
)ssh/
has a simple config file to make sure macOS uses KeyChain for passphraseszsh/
has my.zshrc
which you need to symlink to your home directory~/
- Don't forget to also symlink your
~/.config/nvim/init.vim
to~/.vimrc
There's a useful (and dangerous) symlink.sh
command which you can run to setup symlinks.
Install oh-my-zsh:
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Install TPM for tmux:
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# after that, just open tmux and hit Prefix + I to install plugins
Open nvim (it should install VimPlug and do a PlugInstall on first run).
For Rectangle, import the config/rectangle/RectangleConfig.json
through the app's preferences.
To download fonts just visit NerdFonts:
JetBrainsMono, CaskaydiaCove, Operator Mono (can't be found on NerdFonts).
Since symlinks are in-place, maintenance is just a simple commit & push to this repo. The only downside
to the current structure is the Brewfile
. To update the currently installed brew formulaes and casks
simply run the ./updateBrew.sh
executable (assumes that you have brew in your system) and will generate
a brand new Brewfile
which then can be commited and pushed.