Skip to content

Instantly share code, notes, and snippets.

View dmfigol's full-sized avatar

Dmitry Figol dmfigol

View GitHub Profile
@dmfigol
dmfigol / bootstrap-mac
Last active March 22, 2021 15:43 — forked from natelandau/bootstrapNewMac
A bootstrap script to install my dotfiles and configure a new computer
#!/usr/bin/env bash
BOOTSTRAP_SCRIPT_PATH="${HOME}/bootstrap.sh"
# set colors
if tput setaf 1 &> /dev/null; then
tput sgr0
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then
ORANGE="$(tput setaf 172)"
else
ORANGE="$(tput setaf 4)"