- Update the formulae and Homebrew itself
brew update
brew update
def hi(name): | |
print('Hi ' + name + '!') | |
girls = ['Ely', 'Abril', 'Anita', 'Meli', 'You'] | |
for name in girls: | |
hi(name) | |
print('Next girl') | |
for i in range(1, 6): |
brew install zsh zsh-completions
zsh --version
- expected output is zsh 4.3.9
Oh My Zsh
->sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
~/.zshrc
file look for the ENV var: ZSH_THEME=
and set it to the name of your favorite theme, mine is: awesomepanda
.~/.zshrc
file, e.g.plugins=(
# These are the steps I followed to install a specific version of PostgreSQL using Homebrew | |
brew search postgresql | |
# You will get a list of versions, pick the one you are looking for and use that next | |
# e.g. 'homebrew/versions/postgresql92' | |
brew install homebrew/versions/postgresql92 | |
# If you get an error like: | |
# Error: An unexpected error occurred during the `brew link` step | |
# The formula built, but is not symlinked .... |
# From: https://git-scm.com/book/it/v2/Git-Basics-Git-Aliases | |
# Run this on your command line: | |
$ git config --global alias.co checkout ## git co | |
$ git config --global alias.br branch ## git br | |
$ git config --global alias.ci commit ## git ci | |
$ git config --global alias.st status ## git st | |
$ git config --global alias.pu status ## git pu | |
## git last -- will give you the last commit | |
$ git config --global alias.last 'log -1 HEAD' |