Bash scripts and other files backed up from the user director (~/)
-
Install Homebrew for installing commandline software
-
Install rbenv (Ruby Environment) for installing newer versions of Ruby locally/globally
brew install rbenv -
Install Xcode Command line tools (included with Homebrew)
xcode-select --install
-
Download from Github
cd ~ git clone https://github.com/PaulSolt/dotfiles.git -
Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" -
Setup Symlinks (move old files to relink to dotfiles)
zsh
ln -s dotfiles/.zshrc .zshrcbash
ln -s dotfiles/.bashrc .bashrc ln -s dotfiles/.bash_profile .bash_profile -
Reload bash profile
zsh
source ~/.zshrcbash
source ~/.bash_profile -
Test a command (pwdf - print front most finder directory path)
pwdf
Using version control makes this easier to download and setup
cd ~
mkdir dotfiles
Move files into dotfiles
mv .zshrc dotfiles/
mv .bashrc dotfiles/
mv .bash_profile dotfiles/
Create a symlink to the files
ln -s ~/dotfiles/.zshrc .zshrc
ln -s ~/dotfiles/.bashrc .bashrc
ln -s ~/dotfiles/.bash_profile .bash_profile