Created
August 25, 2013 15:57
-
-
Save eamartin/6334652 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# installing oh-my-zsh walkthrough | |
# git is a version control system. used by programmers so that multiple people can work on the same | |
# thing at the same time. git also allows you to edit code without worrying about breaking the code | |
# because you can revert to previous versions. | |
# This command copies the git repository for the oh-my-zsh project | |
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh | |
# All of your interaction with the computer over the command line happens through a program called a | |
# "shell". common shells are sh, bash, and zsh. The shell is responsible for doing things like starting | |
# processes when you tell it to, handling input and output to the display, and etc. Your shell is zsh. | |
# Shells can be customized many ways (for instance by storing history, coloring output, etc). | |
# oh-my-zsh is a set of customizations for zsh that make it much friendlier to use. | |
# Every terminal window that you have is a new instance of a shell program. So when you open a connection | |
# with ssh/putty, a new shell starts. When you end/close the connection, the shell program stops running. | |
# When zsh starts running, it looks for a file called ~/.zshrc and executes it. This provides an easy hook | |
# to customize your shell. | |
# This command copies the oh-my-zsh file into ~/.zshrc. This ensures that the code from oh-my-zsh runs every | |
# time you start a shell (which happens every time you ssh in). | |
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc | |
# note that ~/.zshrc only runs when a new instance of zsh is started. To make a new instance of zsh start, you need | |
# to close your current shell (by disconnecting) and then reconnect to the machine. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment