Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk!
- Install Git (On MacOS and Windows)
- Log in to the App Store (On MacOS)
- Clone the repo
- Source the
bootstrap.sh
script - Install packages and extensions
If you are using a mac you would need some xcode comands
xcode-select --install
In Linux, you probably will get git
right out of the box
On mac, the installation of apps is done using Homebrew and the unofficial Mac App Store command line interface. And for the latter to work, you need to log in into the Apps Store app first.
This can be done with the following commands
git clone https://github.com/marioy47/dotfiles.git
cd dotfiles
source bootstrap.sh
This will create several symlinks into your home directory. That's why you should never remove the dotfiles directory.
Also, you may want to install some common Homebrew formulae, some development fonts, some VSC plugins and some Vagrant plugins.
sudo -v
brew bundle
source plugins.sh
Unfortunately this services are not installable using brew
but are very much recommended
I'm using iTerm2 terminal emulator on Mac with a customized version of the the Material Design Color Scheme. More information on how to set it up here
There is also an Alacritty dotfile configuration if you are more interested in an speedy terminal.
cd ~/Downloads/
curl https://raw.githubusercontent.com/alacritty/alacritty/master/extra/alacritty.info -O
sudo tic -xe alacritty,alacritty-direct extra/alacritty.info
If the ~/.extra
file exists, it will be sourced along with the other files when the terminal startups up. You can use this to add a few custom commands without the need to fork this entire repository, or to add variables you don’t want to commit to a public repository.
If you use VIM emulation on Visual Studio code or Sublime Text you'll notice that keeping the h,j,k,l
keys pressed doesn't repeat the movement. For that you have to execute this on the terminal:
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
If you install additional brew commands, you should update the Brewfile:
cd path/to/dotfiles
brew bundle dump --force
The --force
file updates the file.