Forked from Caarlos0 dotfiles
First, make sure you have all those things installed:
git
: to clone the repocurl
: to download some stufftar
: to extract downloaded stufffish
: the shellsudo
: some configs may need that
Then, run these steps:
git clone https://github.com/stvmachine/dotfiles_v2 ~/.dotfiles
cd ~/.dotfiles
./script/bootstrap.fish
Run brew bundle from macos folder
cd macos
brew bundle
All changed files will be backed up with a
.backup
suffix.
To update, you just need to git pull
and run the bootstrap script again:
cd ~/.dotfiles
git pull origin master
./script/bootstrap.fish
Reverting is not totally automated, but it pretty much consists in removing the fish config and dotfiles folder, as well as moving back some config files.
rm -rf ~/.dotfiles $__fish_config_dir
The bootstrap script would have created a bunch of symlinks that will now be broken.
You will have to investigate those manually.
In cases a file already existed, the boostrap script should have created a .backup
file with the same name.
alacritty
a cross-platform, OpenGL terminal emulator;bat
a cat(1) clone with wings;delta
for better git diffs;fd
a simple, fast and user-friendly alternative tofind
;fzf
for a fuzzy-finder;gum
A tool for glamorous shell scripts;gh
for more GitHub integration with the terminal;grc
to colorize command's outputs;kitty
a cross-platform, fast, feature-rich, GPU based terminal;kubectx
for better Kubernetes context and namespace switch;neovim
hyperextensible Vim-based text editor;starship.rs
the shell we are using;
Follow the instructions here
.
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
sudo apt install fish grc fzf zoxide fd-find exa bat alacritty kitty neovim
# TODO: install delta, kubectx
You use it by running:
~/.dotfiles/macos/set-defaults.sh
And logging out and in again or restart.