Skip to content

stvmachine/dotfiles_v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forked from Caarlos0 dotfiles

Installation

Dependencies

First, make sure you have all those things installed:

  • git: to clone the repo
  • curl: to download some stuff
  • tar: to extract downloaded stuff
  • fish: the shell
  • sudo: some configs may need that

Install

Then, run these steps:

git clone https://github.com/stvmachine/dotfiles_v2 ~/.dotfiles
cd ~/.dotfiles
./script/bootstrap.fish

Mac brew install

Run brew bundle from macos folder

cd macos
brew bundle

All changed files will be backed up with a .backup suffix.

Update

To update, you just need to git pull and run the bootstrap script again:

cd ~/.dotfiles
git pull origin master
./script/bootstrap.fish

Revert

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.

Recommended Software

  • 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 to find;
  • 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;

On Mac

Follow the instructions here.

On Ubuntu

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

macOS defaults

You use it by running:

~/.dotfiles/macos/set-defaults.sh

And logging out and in again or restart.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published