quick tip archive

kronda's picture

Quick Tip: Clean Up Your Drupal Modules Folder

Let's say you inherit a Drupal site and the modules folder looks like this: And being an organized dev, you'd rather it look like this: So you create a 'contrib', 'custom' and maybe a 'features' folder for good measure and move everything around. Then your site blows up and starts giving you errors all over the place. What happened? You pulled a shell game on your site, moving modules around and not telling it where to look. Read More…

kronda's picture

Quick Tip: Stop ZSH Shell Auto-Correct from Driving You Crazy

I switched my Unix shell to zsh a few months ago and overall I love it. But sometimes the autocorrect can be a little *too* helpful. After the latest upgrade I started getting this every time I typed 'git status': zsh: correct 'status' to 'stats' [nyae]? Um no. No thanks I said. Not today. WILL YOU QUIT ASKING ME THAT!?!? So I finally Bing'd* it and got the suggestion to turn off auto correct. That seemed a little drastic. Here's a less blunt solution: Open .oh-my-zsh/lib/correction.zsh and add this line to it: alias git status='nocorrect git status' You may now commune with git in peace. Read More…