VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » IT, programs, coding
Fix Your Shell Scripts With Shellcheck DistroTube

Fix Your Shell Scripts With Shellcheck DistroTube

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Fix Your Shell Scripts With Shellcheck DistroTube Shellcheck is a piece of free and open source software that gives warnings and suggestions for shell scripts. Using shellcheck, you can find errors earlier than you would otherwise. It's a tool that everyone that scripts should have in their toolbag. - https://github.com/koalaman/shellcheck
Date: 2022-03-30

Comments and reviews: 9


Hey DT! I made a comment which made reference to a shell script I wrote which is called -bench.sh- and that comment is gone. Did it go to spam, or did you actually delete it? I did not write anything which would warrant deletion --- however warrant or not, its ultimately you who decides what types of comments you want.-
At any rate, I have always been decent AFAIK so I'm perplexed as to why it was deleted.-
Greetings from Scandinavia! Have a fantastic day.

reply

If you walk so much about how much more efficient window managers / keyboard-driven everything is you may want to leave insert mode from time to time (your rice is pretty nice though. Love the green status line).
reply

Hey, DT, I have a question. How do you get menus for shutdown, restart and logout on window managers? I was using rofi before, but i3 doesn't seem to play well with rofi. Any suggestions?
reply

was expecting your shell example to start with shebang: #!/usr/local/bin/fish
But then i realized Shellcheck would respond with error message: warning! Fish is NOT a shell!

reply

I-ve been wondering what to mentally tell myself when placing -$- sigils on shell variables as opposed to Perl ones: -referenced but not assigned- says it perfectly.
reply

I never knew this worked in emacs (just install flycheck and shellcheck, no config needed), Ive been copy/pasting into the website this whole time..
reply

I've been using shellcheck for at least a couple of years. I've set up aliases with the options and exclusions I use. A very handy utility.
reply

Great content, DT!
Unfortunately, a downside of this application is it requires a ton of haskell dependencies (32, according to paru)

reply

The XML format is great for interpreting the errors in automatic testing software. Like CodeGrade or something like that.
reply
Add a review, comment






Other channel videos