Skip to content

Instantly share code, notes, and snippets.

@kelmandor
kelmandor / new vm setup
Created July 17, 2013 08:58
these are the steps i take to create a new vm with all the services i know and love.
new VM!!
first of all to set the command prompt, add this to ~/.profile and change the text needed to change:
PS1="\u@\e[0;31mTHISTEXTCHANGE\e[m \w $ \e[m"
next, install avahi: sudo apt-get install avahi-daemon
now you can log in by the hostname dot local!!
sudo apt-get install build-essential
git dependencies: sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev
@kelmandor
kelmandor / dk oh-my-zsh theme
Last active December 19, 2015 17:19
this is my custom oh-my-zsh theme that we use at crossrider so that the command line will have THE TIME when we issued commands.
# file name: dk.zsh-theme
# in file ~/.zshrc change/add this line: ZSH_THEME="dk"
# Adding time stamp to the russel theme.
PROMPT='%{$fg_bold[yellow]%}%T% %{$fg_bold[red]%} DorIsCool ➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"