Weird world we live in, i found this today use it, and love it, and here it is DT doing a video on it
@littlepeon3 жыл бұрын
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!
@drishalballaney65903 жыл бұрын
HAHA I am dying 🤣🤣
@daringcuteseal3 жыл бұрын
loll
@alexkeenan25753 жыл бұрын
not sure if anyone gives a shit but if you are stoned like me during the covid times then you can watch pretty much all the new series on InstaFlixxer. Have been binge watching with my girlfriend for the last days =)
@jaceisaac73793 жыл бұрын
@Alex Keenan Definitely, I have been using instaflixxer for since november myself =)
@RickRomig3 жыл бұрын
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.
@daxterstrock33193 жыл бұрын
Actually really excited too use this as I’m learning to write my own bash scripts and such
@martiniliev30213 жыл бұрын
Thank you for this great utility, after checking with some scripts, I am impressed :)
@kda_-uh3vj3 жыл бұрын
Amazing! I didn't know this existed
@Gadgetoholic Жыл бұрын
Really helpful. Thanks man!
@AndersJackson3 жыл бұрын
The XML format is great for interpreting the errors in automatic testing software. Like CodeGrade or something like that.
@zedth23 жыл бұрын
or integrating it into some sort of text editor IDE
@AtomToast3 жыл бұрын
you can also set up shellcheck with a diagnostics language server in order to get live linting right in your editor
@swindlesmccoop2 жыл бұрын
do you know how i could set that up with vim?
@henninb3 жыл бұрын
This is one of my favorite tools
@rajughorai39093 жыл бұрын
gone use next time i write shell code
@jm19813 жыл бұрын
Awesome stuff.
@sasharenee2523 жыл бұрын
seems cool!
@edupazz3 жыл бұрын
Great content, DT! Unfortunately, a downside of this application is it requires a ton of haskell dependencies (32, according to paru)
@DistroTube3 жыл бұрын
If you have XMonad and Pandoc installed anyway (and you really should), then it isn't a problem. ;)
@edupazz3 жыл бұрын
@@DistroTube it's no my case, indeed
@BrucesWorldofStuff3 жыл бұрын
@@DistroTube HaHaHa I get 27 updates a day and 24 of them are Haskell updates and the sad thing. I don't remember why I have Haskell installed... LOL LLAP
@AndersJackson3 жыл бұрын
@@BrucesWorldofStuff because you use Xmonad, of course. 😜
@BrucesWorldofStuff3 жыл бұрын
@@AndersJackson LOL... That's the thing! I don't use Xmonad... ROTF I do use Leftwm and Spectrwm.... (Ding) Wait! Wait! Got it! Leftwm had me install Xmobar, Lemonbar, and Polybar. But I never Xmobar or Lemonbar. I used Polybar instead... LMAO... I bet that's it... LLAP
@MarcelRobitaille3 жыл бұрын
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).
@SpencerA993 жыл бұрын
checkbashisms is another good one. Also has a posix flag. Written by debian I believe
@guilherme50943 жыл бұрын
Nice!
@YannMetalhead Жыл бұрын
Good video.
@lawrencedoliveiro91043 жыл бұрын
2:38 Perfectly valid code so far.
@tusharkuntawar61703 жыл бұрын
Hey DT, do you know any stuff that makes navigation faster in vim without plugins
@Neucher3 жыл бұрын
DT, what will be the requirement for DT OS install script? Will it work on a fresh arch ?
@007arek3 жыл бұрын
What is the best alternative to bash except python? I'm looking something for writing scripts.
@mantamizhan43053 жыл бұрын
I would like know have you made terminal no-header ?
@tazz73903 жыл бұрын
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?
@tic-tech-toe53943 жыл бұрын
you can use i3 menu to create custom menu for your likings. i am on i3 and i use that for shutdown and other custom shortcuts
@twb01093 жыл бұрын
Use i3 menus, they're like emacs keychords. Or write a shell script that outputs to rofi/dmenu, plenty of tutorials out there.
@tazz73903 жыл бұрын
Thanks guys, I'll try that out!
@twb01093 жыл бұрын
@@tazz7390 you're welcome
@ricknaam56583 жыл бұрын
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..
@AndersJackson3 жыл бұрын
Hm, have to check that out.
@aniakotowicz19763 жыл бұрын
What are your thoughts on powershell core? 🤔
@armynyus91233 жыл бұрын
I have that rather directly in the editor: bash-language-server
@lorenzocabrini3 жыл бұрын
I tried LSP mode and must say I was less than satisfied. I much prefer to run a linter after a CTRL-x s, rather than having Emacs doing weird stuff while I'm writing code.
@armynyus91233 жыл бұрын
@@lorenzocabrini I hereby admit kind of ashamed, that for coding I'm still on vim => did not try LSP in emacs. But yes, linting only on save.
@lorenzocabrini3 жыл бұрын
@@armynyus9123 No need to feel ashamed. Nothing wrong about vim. It's a very capable editor. You could have done a lot worse, like some javascript-based freakshow. Sometimes it may sound like I criticize vim, but I really don't. what gets me is this very vocal minority of vim "users" who, instead of being happy with their own editor, go onto videos about Emacs and demand that Emacs should be like vim. I for one celebrate the fact that we have two very capable editors to choose from, that way I can have it my way and you can have it your way. I used a vi-clone called elvis for many years, so I'm quite familiar with vi keybindings. It's just that I personally prefer the Emacs ones, not because I think they are superior but merely because I'm really used to them for my everyday tasks.
@phyzix_phyzix3 жыл бұрын
I was telling someone about this today. Nice coincidence
@lawrencedoliveiro91043 жыл бұрын
5:06 Not necessarily an error; it might be what you want.
@auronkardek3 жыл бұрын
I gonna disable this double quote error really fast
@lawrencedoliveiro91043 жыл бұрын
3:38 Obvious problem at this point is the missing shebang line.
3 жыл бұрын
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.
@DistroTube3 жыл бұрын
Many comments get caught up in KZbin's spam algorithms. I don't see a comment from you in "Held for review". KZbin might have just deleted it entirely. Not much I or anyone else can do about this. It's just KZbin being KZbin.
3 жыл бұрын
@@DistroTube I wrote a fairly long reply to yours just now and that too was deleted or "lost", unfortunately I had not copied and pasted the text into a texteditor as I normally do as a "security measure" or as a time saving effort when writing longer replies -- because the browser could crash and there goes the reply. So I have found myself automatically writing most of my comments in a texteditor simply to save myself time. But of course that does not rectify/fix anything when it comes to how YT handles comments -- its kind of just for my own sanity or peace of mind, because a guy's time is valuable as you probably already know very werll. At any rate, keep up the great content. I enjoy it all. 🙂
@lawrencedoliveiro91043 жыл бұрын
2:44 No such variable -- only error I can see so far.
@lakromani81722 жыл бұрын
Why does not shellcheck complain about the $sayHello? Line should be echo "$sayHello $myName"