Skip to content

Instantly share code, notes, and snippets.

@bennyguitar
bennyguitar / Books_2015
Created October 4, 2015 17:47
The books I've read in 2015
Red Rising - Pierce Brown
Golden Son - Pierce Brown
A Brief History of Time - Stephen Hawking
The Martian - Andy Weir
if [[ -z $ZSH_THEME_CLOUD_PREFIX ]]; then
ZSH_THEME_CLOUD_PREFIX='ಠ_ಠ'
fi
PROMPT='
%{$fg[cyan]%}$ZSH_THEME_CLOUD_PREFIX %{$fg_bold[green]%}%p %{$fg[green]%}%c %{$fg_bold[cyan]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}
$ '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}[%{$fg[cyan]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME=bg
# Example aliases
@bennyguitar
bennyguitar / Bash.md
Last active December 20, 2015 15:09
My minimal bash Profile
PS1='\[\e[01;36m\]♫  \[\e[01;31m\]\u \[\e[00m\]\W: '

To Install

  • Open Terminal.
  • nano ~/.bashrc
  • Add the above code snippet. Ctrl-X, Y, Return to save.
  • nano ~/.bash_profile and add source ~/.bashrc. Ctrl-X, Y, Return to save.