See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| ## Add to your bash or zsh profile | |
| ## Modify path to match where you keep your local WP installs | |
| ## Your install and theme names should match! | |
| function localwp() { | |
| cd ~/Desktop/local/"$@"/app/public/wp-content/themes/"$@" | |
| } | |
| ## To use, type `localwp themename` (replace themename obvi) | |
| ## Now you’re in your theme directory! Yay! |