-
Change the default shell
# use bash $ chsh -s /bin/bash # use zsh $ chsh -s /bin/zsh
-
Install Homebrew and/or MacPorts
# Homebrew # Checkout the ff. link for instructions: https://brew.sh # MacPorts # Checkout the ff. link for instructions: https://www.macports.org/install.php
-
Install Coreutils
# Homebrew $ brew install coreutils # MacPorts $ sudo port install coreutils # PATH and MANPATH settings (brew is configured by default in .bashrc) # # using brew # export PATH=/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH # export MANPATH=/opt/homebrew/opt/coreutils/libexec/gnuman:$MANPATH # # using port # export PATH=/opt/local/libexec/gnubin:/opt/local/bin:/opt/local/sbin:$PATH # export MANPATH=/opt/local/libexec/gnuman:$MANPATH
-
Setup home directory.
$ cd mac/home/ $ cp bashrc ~/.bashrc $ cp bash_profile ~/.bash_profile $ cp profile ~/.profile $ cp vimrc ~/.vimrc $ cp -RPpf vim ~/.vim $ cp tigrc ~/.tigrc $ cp pairs ~/.pairs
-
Install terminal profile. Open terminal preferences and import mac/terminal/IR_Black/zanders.terminal
-
Install git scripts
$ cd scripts/git/ $ ./git-config.sh -g
-
Install tig
$ brew install tig
-
Install Node.js
$ brew install node
-
Install NVM
# Checkout the ff. link for instructions: https://github.com/nvm-sh/nvm
-
Install git-gui
$ brew install git-gui
- Copy text from Terminal without formatting
$ defaults write com.apple.Terminal CopyAttributesProfile com.apple.Terminal.no-attributes