Skip to content

Instantly share code, notes, and snippets.

@williankeller
Created May 7, 2020 19:28
Show Gist options
  • Save williankeller/72b5927e361c39637c2eb3539e1a8f9c to your computer and use it in GitHub Desktop.
Save williankeller/72b5927e361c39637c2eb3539e1a8f9c to your computer and use it in GitHub Desktop.
export PATH="$HOME/.symfony/bin:$PATH"
export PATH="$HOME/.composer/vendor/bin:$PATH"
source ~/.profile
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
#php7.0.33
#php7.1.32
#php7.2.22
PATH=/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php/php7.2.22/bin:$PATH
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
NO_COLOR="\[\033[0m\]"
BLUE="\[\033[0;34m\]"
parseGitBranch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1) /'
}
PS1="$GREEN\u $BLUE[\D{%T}] $NO_COLOR\w\n$YELLOW\$(parseGitBranch)$NO_COLOR\$ "
alias ll='ls -la'
alias ~="cd ~"
alias cp='cp -iv'
alias mv='mv -iv'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment