Created
May 14, 2018 01:14
-
-
Save diomededavid/e94b1a0a2767763e7ccc13620d958e93 to your computer and use it in GitHub Desktop.
Bash Profile
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
| alias bprofile='nano ".bash_profile"' | |
| alias checkoutdevelopall='ls | xargs -P10 -I{} git -C {} checkout develop' | |
| alias debug='open /Users/daviddiomede/Sites/VVV/www/fansidedblogs.test/htdocs/wp-content/debug.log' | |
| alias devall='ls | xargs -P10 -I{} git -C {} checkout develop' | |
| alias dke='docker exec -i -t' | |
| alias dkls='docker images' | |
| alias dkps='docker ps -a' | |
| alias flushdns='sudo dscacheutil -flushcache' | |
| alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app' | |
| alias hidefiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app' | |
| alias hosts='sudo nano /private/etc/hosts' | |
| alias ll='ls -lartG' | |
| alias ls='ls -GHf' | |
| alias phpup='php -S localhost:8888' | |
| alias pruneall='ls | xargs -P10 -I{} git -C {} remote prune origin' | |
| alias prunedevhosts='sed -i -e s/.*\.dev.*//g ~/.ssh/known_hosts' | |
| alias pruneknownhosts='sed -i -e s/*.*//g ~/.ssh/known_hosts' | |
| alias prunerepos='ls | xargs -P10 -I{} git -C {} remote prune origin' | |
| alias pullall='ls | xargs -P10 -I{} git -C {} pull' | |
| alias rvm-restart='rvm_reload_flag=1 source '\''/Users/daviddiomede/.rvm/scripts/rvm'\''' | |
| alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder/System/Library/CoreServices/Finder.app' | |
| alias showfiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app' | |
| alias updaterepos='ls | xargs -P10 -I{} git -C {} pull' | |
| alias vup='vagrant up --provision' | |
| alias vxoff='vagrant ssh -c "xdebug_off"' | |
| alias vxon='vagrant ssh -c "xdebug_on"' | |
| alias wipedebug=':> /Users/daviddiomede/Sites/VVV/www/fansidedblogs.test/htdocs/wp-content/debug.log' | |
| alias xdebug_off='vagrant ssh -c "xdebug_off" | grep php' | |
| alias xdebug_on='vagrant ssh -c "xdebug_on" | grep php' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment