kevinnio
6/6/2017 - 10:09 PM

.profile file

.profile file

source ~/.phpbrew/bashrc
export PATH="./:./vendor/bin:~/bin:$PATH"
export HISTCONTROL=ignoreboth:erasedups
export ANDROID_SDK_ROOT=/usr/local/share/android-sdk

# Aliases de Git
alias g='git'
alias gss='git status'
alias gbr='git branch'
alias gs='git status -s -unormal'
alias gd='git diff'
alias gds='git diff --staged'
alias gck='git checkout'
alias gr='git reset'
alias ga='git add'
alias gc='git commit'
alias gcm='git commit -m'
alias gcma='git commit -a -m'
alias gl='git log --decorate=short --graph --all'
alias glo='gl --oneline'
alias glp='gl -p'
alias glop='glo -p'
alias grbk='git reset --soft HEAD~1'
alias grt='git reset --hard HEAD'
alias gm='git merge'
alias grb='git rebase'
alias gf='git flow'
alias gfi='gf init'
alias gff='gf feature'
alias gfr='gf release'
alias gfh='gf hotfix'
alias gfs='gf support'
alias gfc='gf config'

# Aliases de PHP
alias art='artisan'
alias autoload='composer dumpautoload'

source ~/.git-prompt.sh
source ~/.git-completion.bash
PS1="\[$IWhite\]\d \t \[$IRed\][\w]\[$Yellow\]\$(__git_ps1)\n\[$Green\]\$\[$Color_Off\] "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'

# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

# SBP prompt. I kinda like it.
# sbp_path=/Users/kevin/Projects/sbp
# source /Users/kevin/Projects/sbp/sbp.bash


# bash-powerline
source ~/.bash-powerline.sh

export PGDATA="/usr/local/var/postgres"