-
Notifications
You must be signed in to change notification settings - Fork 0
/
.aliases
33 lines (27 loc) · 919 Bytes
/
.aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# PHP
alias php7.2='$(brew --prefix [email protected])/bin/php'
alias php7.3='$(brew --prefix [email protected])/bin/php'
alias php7.4='$(brew --prefix [email protected])/bin/php'
alias php8.0='$(brew --prefix [email protected])/bin/php'
# Composer
alias composer7.2='php7.2 $(which composer)'
alias composer7.3='php7.3 $(which composer)'
alias composer7.4='php7.4 $(which composer)'
alias composer8.0='php8.0 $(which composer)'
# Artisan
alias a='php artisan'
alias a7.2='php7.2 artisan'
alias a7.3='php7.3 artisan'
alias a7.4='php7.4 artisan'
alias a8.0='php8.0 artisan'
# Artisan commands
alias migrate='a migrate'
alias migrate:fresh='a migrate:fresh'
alias migrate:refresh='a migrate:refresh'
alias migrate:rollback='a migrate:rollback'
alias tinker='a tinker'
alias wpp='a wp:pull'
alias wpa='a wp:pull all'
# Dotfiles
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles config --local status.showUntrackedFiles no