Important: I'm now using the Fish shell, so I have a new repository for my fish dotfiles. This repo will be eventually be replaced by it.
Check it out here.
Config files for ZSH, Java, Ruby, Go, Editors, Terminals and more.
First, make sure you have all those things installed:
git
: to clone the repocurl
: to download some stufftar
: to extract downloaded stuffzsh
: to actually run the dotfilessudo
: some configs may need that
Then, run these steps:
$ git clone https://github.com/caarlos0/dotfiles.git ~/.dotfiles
$ cd ~/.dotfiles
$ ./script/bootstrap
$ zsh # or just close and open your terminal again.
All changed files will be backed up with a
.backup
suffix.
For macOS, I recommend:
- iTerm: a better terminal emulator;
For both Linux and macOS:
diff-so-fancy
: better git difs (you'll need to rundot_update
to apply it);fzf
: fuzzy finder, used in,t
on vim, for example;kubectx
for better kubernetes context and namespace switch;
You use it by running:
$DOTFILES/macos/set-defaults.sh
And logging out and in again/restart.
Theme is Dracula, font is JetBrains Mono on editors and Hack on terminals.
Feel free to contribute. Pull requests will be automatically checked/linted with Shellcheck and shfmt.