Created
July 3, 2020 18:31
-
-
Save luizfelipeleite/4293a5bf72173102f47a951033cb4b0d to your computer and use it in GitHub Desktop.
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 wpdebug0='wp config set WP_DEBUG false --raw --type=constant' | |
| alias wpdebug1='wp config set WP_DEBUG true --raw --type=constant' | |
| alias rmdss='find . -name '.DS_Store' -type f -delete' | |
| alias rmnm='find . -name 'node_modules' -type d -delete' | |
| alias rmcv='find . -name 'vendor' -type d -delete' | |
| alias guiau='git update-index --assume-unchange' | |
| alias guinau='git update-index --no-assume-unchange' | |
| alias jpdev1='wp config set JETPACK_DEV_DEBUG true --type=constant --raw' | |
| alias jpdev0='wp config set JETPACK_DEV_DEBUG false --type=constant --raw' | |
| alias wplangupdate='wp language core update && wp language plugin update --all && wp language theme update --all' | |
| alias wplanginstall='wp language core install pt_BR && wp language plugin install pt_BR --all && wp language theme install pt_BR --all' | |
| alias homesite="wp option get siteurl && wp option get home" | |
| alias wprminactives='wp theme delete $(wp theme list --status=inactive --field=name --format=csv) && wp plugin delete $(wp plugin list --status=inactive --field=name --format=csv)' | |
| alias storefront='wp theme install storefront --force && wp language theme install storefront pt_BR' | |
| alias wpmi='php -d memory_limit=-1 /usr/local/bin/wp' | |
| alias genpwd='wp eval "echo wp_generate_password( 12, false ) . \"\n\";" --path=/Users/camaleaun/.wp-cli/core' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment