Skip to content

Instantly share code, notes, and snippets.

@marzvrover
Created March 4, 2019 19:51
Show Gist options
  • Save marzvrover/6fea11fa31719b6ff7d1b682bb45be22 to your computer and use it in GitHub Desktop.
Save marzvrover/6fea11fa31719b6ff7d1b682bb45be22 to your computer and use it in GitHub Desktop.
The base to my current .bash_profile file.
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"
}
@marzvrover
Copy link
Author

marzvrover commented Dec 18, 2020

I no longer use bash, but instead use zsh. See my current Shell Environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment