Skip to content

Instantly share code, notes, and snippets.

@stephaniewilkinson
Last active January 12, 2017 03:28
Show Gist options
  • Save stephaniewilkinson/f8480a736f4ba1cb17515f022554dee1 to your computer and use it in GitHub Desktop.
Save stephaniewilkinson/f8480a736f4ba1cb17515f022554dee1 to your computer and use it in GitHub Desktop.

Popular Options for Shells:

  1. Bash
  2. Fish
  3. Zsh

Bash (Bourne Again SHell) is the default shell on your mac. You use it when you open Terminal and execute commands. It has two associated files for customization, .bash_profile and .bashrc

Aliasing

You can teach your shell to alias to other commands. For example, here are the aliases I use

alias g='git'
alias gp='git push'
alias rpy='pry'
alias rials='rails'

Open up your .zshrc or .bashrc and add your aliases.

Bash prompt symbols

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment