install oh my zsh
open branch:
gco -b FOLDER_NAME/FEATURE_NAMEcreates new branch locallyggpushcreates a remote branch
install oh my zsh
open branch:
gco -b FOLDER_NAME/FEATURE_NAME creates new branch locallyggpush creates a remote branch| #!/bin/sh | |
| branch=`git rev-parse --abbrev-ref HEAD` | |
| echo "Running tests before pushing...." | |
| if [[ $branch == 'master' || $branch == 'develop' ]]; | |
| then | |
| # SET IT TO YOUR OWN VIRTUALENV PATH ! | |
| source ~/virtualenv/mp_api/bin/activate |
| # 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 |