Created
March 4, 2019 19:51
-
-
Save marzvrover/6fea11fa31719b6ff7d1b682bb45be22 to your computer and use it in GitHub Desktop.
The base to my current .bash_profile file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi | |
export CLICOLOR=1 | |
alias please="php please" | |
alias artisan="php artisan" | |
alias tinker="artisan tinker" | |
alias migrate="artisan migrate" | |
alias watch="npm run watch" | |
alias share="sudo valet unsecure && valet share && sudo valet secure" | |
switchPHP() { | |
brew-php-switcher $1 -s | |
} | |
downloadM3U8() { | |
ffmpeg -i "$1" -c copy -bsf:a aac_adtstoasc "$2" | |
} | |
jump() { | |
builtin cd "$1/$2" | |
} | |
cdDev() { | |
jump ~/Development "/$1" | |
} | |
devPHP() { | |
cdDev "PHP/$1" | |
} | |
devWork() { | |
cdDev "work/$1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I no longer use bash, but instead use zsh. See my current Shell Environment