Skip to content

Instantly share code, notes, and snippets.

Matteo Melani matteomelani

View GitHub Profile
@matteomelani
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
fi
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.