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 Linux:
- Terminator: 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;exa
: for betterls
;mmake
: a modernmake
.hub
: a command-line wrapper for git that makes you better at GitHub;
You use it by running:
$DOTFILES/macos/set-defaults.sh
And logging out and in again.
Feel free to contribute. Pull requests will be automatically checked/linted with Shellcheck and shfmt.