news
Using Vi/Vim and ShellCheck for Code and Scripts
-
HowTo Geek ☛ Stop waiting for your IDE to load: This 30-year-old editor is faster
While most coders use integrated development environments like VS Code. My code editing tool of choice is Vim, a much smaller package that's been around for over 30 years. Since Vim is heavily influenced by the original Vi, its lineage is even older, dating back to the late '70s. Why would I use something so old? Here's why Vim works for me.
-
HowTo Geek ☛ Stop trusting your shell scripts: Why ShellCheck is the tool you're missing
ShellCheck is a code verifier that spots bugs, incompatibilities, and other problems in shell scripts. It’s valuable because few similar tools exist, and shell programming can be particularly flaky, with portability concerns and different syntax changes introduced over time.
I unleashed ShellCheck on my own scripts—and a few third-party ones—and, unsurprisingly, it caught quite a few problems. So I’d recommend you do the same!