Skip to content

Instantly share code, notes, and snippets.

Matteo Melani matteomelani

Block or report user

Report or block matteomelani

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
matteomelani / .bash_profile
Created Oct 21, 2018
Basic bash_profile file
View .bash_profile
### .bash_profile is invoked when you start a login shell (type login name and password)
### .bashrc is invoked for non-login interactive shell
### This allows to consolidate all the commands in the .bashrc
if [ -f $HOME/.bashrc ]; then
source $HOME/.bashrc
View .bashrc
export PATH=~/bin:$PATH
export PATH=/usr/local/bin:$PATH
export SSL_CERT_FILE=/usr/local/opt/curl-ca-bundle/share/ca-bundle.crt
export GIT_EDITOR="subl"
### Activate bash complition
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
You can’t perform that action at this time.