marioy47 / dotfiles

.files for setting up your dev environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles for Mario Yepes

Warning

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!

Installation

  • 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

Install Git

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

Login to the App Store

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.

Clone the repo and source the bootstrap script

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.

Install packages and extensions

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

Install additional services

Unfortunately this services are not installable using brew but are very much recommended

Terminal setup

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.

Alacritty Terminfo

cd ~/Downloads/
curl https://raw.githubusercontent.com/alacritty/alacritty/master/extra/alacritty.info -O
sudo tic -xe alacritty,alacritty-direct extra/alacritty.info

Add custom commands and variables without creating a new fork

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.

Key Repeat issue on Mac

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

Update the Brewfile

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.

About

.files for setting up your dev environment


Languages

Language:Shell 48.7%Language:Vim Script 40.5%Language:Ruby 7.5%Language:PowerShell 3.3%