Skip to content

Instantly share code, notes, and snippets.

@guyguyon
guyguyon / dk oh-my-zsh theme
Last active August 29, 2015 14:26 — forked from kelmandor/dk oh-my-zsh theme
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.
# Adding time stamp to the russel theme
PROMPT='%{$fg_bold[yellow]%}%T% %{$fg_bold[red]%} ➜ %{$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]%})"
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