Prettify Your BASH Prompt

  Рет қаралды 23,801

The Linux Cast

The Linux Cast

Күн бұрын

Пікірлер: 45
@Winnetou17
@Winnetou17 Жыл бұрын
Matt, I have an idea for a future video or something like that: THE PROPER WAY challenge! For a set amount of time or for a project/video/whatever, you have to do all things in the so called the proper way: - main idea: choose something new for you. And before you start doing it, you READ THE FMANUAL :) If it's feaseable (aka not big), bonus points for going through all of it. Then see if the installing/using that new thing actually works smooth, as intended - other ideas: whenever you download a package, check its checksum and PGP signature - any script that you want to run from the internet, download it locally, check in, in its entirety (though, of course, you can skim over commands that look safe, you don't have to understand in detail everything the script does) and only afterwards run it. This script was what bought me this whole idea, when you said in this video that normally we shouldn't, but this time we will (which I think that most of the people go like that in most situations) - maybe if a bug if found, properly verify it, then check online if it was posted, then do a nice bug report (this might not apply if you don't find something. Also might be a bit tedious) - if you write a script, make sure you check everything and that you finish all cases, not just make it work for the normal use case - I'm sure there are other shortcuts that can NOT be taken :) To be frank, I'm not sure if a video can be squeezed with what I said above. I mean, a video can certainly be made, but I'm not sure if it would be entertaining in any way (or simply not boring). But the idea (sorry for the repeats) would be that if you do these several times or for several days, you can get used to them and actually not think/feel like it's a hassle. And hopefully that can be shown in a video too.
@koji404notfound
@koji404notfound Жыл бұрын
Shall give this a shot on Arch, thank you!
@wyfyj
@wyfyj Жыл бұрын
Thank you for this Matt! Gonna have to look into this
@thingsiplay
@thingsiplay Жыл бұрын
After Zsh I am back at Bash for a new distro installation and decided to stay at Bash. There are couple of things I miss and cannot be done in Bash. One thing are live autosuggestions while typing. Okay. The other feature is Fish like abbreviations that I used in Zsh. Bash doesn't have it, but at least I could setup a shortcut to expand aliases whenever I want to. I also miss the extended Vi plugin from Zsh, but the basic Vi functionality in Bash is good enough. There are some stuff you can customize yourself in .inputrc and .bashrc to make life better. Not a friend of Oh my Zsh and friends. But I am never telling others not to use, just don't recommend it. Instead do it manually and don't install too much is my recommendation. I miss Zsh.
@ffvbnbvxdvhggb
@ffvbnbvxdvhggb Жыл бұрын
This looks cool! Starship is also worth looking at!
@wisnoskij
@wisnoskij Жыл бұрын
This, Starship is so simple.
@t.b.s4478
@t.b.s4478 Жыл бұрын
Oh-my-bash is good, been using it for a while, that said, the only reason i went back to omzsh is autosuggestion & autocompletion. They make life easier and are quicker to setup. Thanks for the great video & keep'em "Rolling" 💻👍
@keylowmike85
@keylowmike85 Жыл бұрын
I'll be honest, at one point (probably during college), I though that bash was end-all be-all for the terminal, I didn't know until later on that there were things like zsh or fsh. Cool retro term is my favorite emulator. Great video, Matt!
@JakeLinux
@JakeLinux Жыл бұрын
Or just do it all yourself with no tools needed. In my opinion if you are going to use oh my bash, you may as well just use zsh, but that's just my personal opinion, you use what you want to use, that's the joy of Linux, FREEDOM!!! XD
@moris7361
@moris7361 Жыл бұрын
Would love to see a video on how to do that.
@JakeLinux
@JakeLinux Жыл бұрын
@@moris7361 ok, ya got me, you can't do "everything", but you can do a lot of it, I have some videos out covering some of this already, but I could do another.
@moris7361
@moris7361 Жыл бұрын
@@JakeLinux cool, i'll look into it
@nonholographic
@nonholographic Жыл бұрын
@@moris7361 his comments not showing up for me can I get an overview
@muntazirsaad1603
@muntazirsaad1603 Жыл бұрын
Amazing video as always
@ringo8410
@ringo8410 Жыл бұрын
Seems like a pretty cool utility. I run starship on my system. It has most of the customizations of powershell but is much more user friendly.
@JoseMVelazquez
@JoseMVelazquez Жыл бұрын
Starship is awesome. I use it to make my bash terminal very minimal and simple looking.
@nomoremeetings1183
@nomoremeetings1183 Жыл бұрын
I too am lazy and now my bash terminal is looking sharp.
@linuxdabbler
@linuxdabbler Жыл бұрын
Great video as usual Matt. As a zsh user, I personally don't use ohmyzsh, although I have in the past. ohmybash seems like a pretty cool utility, but I would probably use it in the same way that I used ohmyzsh... take inspiration from the prompts, make my own, and save it so it is portable to other machines without installing anything extra.
@synen
@synen Жыл бұрын
Thank you, I needed this video.
@samoylov1973
@samoylov1973 Жыл бұрын
"All that is not bash is bloated" TL used to say. As for me, use zsh with powerlevel10k. That setup is more customizable than others and got more polished look and feel. But as for scripts. Yeap, they are all in old and trusty BASH!
@anon_y_mousse
@anon_y_mousse Жыл бұрын
As a long time bash user I find this useful. Anything that looks good that I don't already have I'll have to copy for sure. I would wager that the people complaining about slowdowns just use potatoes, but they could always excise the bits that cause the slowdowns on their potatoes.
@jakjustanotherkomment930
@jakjustanotherkomment930 Жыл бұрын
Just in case you have set your theme to "random", you can change it in the command-line (without editing any config file) by issuing this command: "source ~/.bashrc"
@aayvyas
@aayvyas Жыл бұрын
Samwell Tarley from GOT
@ismendoza
@ismendoza Жыл бұрын
Thank you. why is not the original code of .bashrc in the new .bashrc created by ohmybash?
@Stopinvadingmyhardware
@Stopinvadingmyhardware Жыл бұрын
ZSH is default on Mac OS.
@SB-qm5wg
@SB-qm5wg Жыл бұрын
using neovim with a vim alias or vim with spellcheck plugins?
@avalagum7957
@avalagum7957 Жыл бұрын
Does anybody know how to do this without oh-my-bash: if the directory `\w` length is less than some number, the prompt doesn't go to a new line. Otherwise, the prompt goes to a new line.
@4X6GP
@4X6GP Жыл бұрын
A little warning: I installed OMB on Mint LMDE. Bash immediately crashed. It was impossible to open a terminal the usual way to fix it. It was possible to rename .bashrc in the GUI or do ctrl-alt-f1 to get a terminal without running .bashrc. But be careful.
@shauryachavan1284
@shauryachavan1284 Жыл бұрын
So damn cool!
@t0menlegam890
@t0menlegam890 Жыл бұрын
like synth shell
@cgnico3978
@cgnico3978 11 ай бұрын
how's going your programming journey btw?
@TheLinuxCast
@TheLinuxCast 11 ай бұрын
I like Python, but it is slow-going. I keep having to start over, it feels like. But I can do a bit.
@capability-snob
@capability-snob Жыл бұрын
I lived through the early 90s, before software had basic features like theming, and I can't understand why anyone would fetishise that time period. I understand reasonable startup times and pages resident, but outside of electron and the browser there really is no logic in minimalism. I probably won't run all of OMB (as I don't want things that interfere with the gnu readline experience and I think powerline is uuuugly) but I'm going to see what I can steal.
@TheLinuxCast
@TheLinuxCast Жыл бұрын
A world without themes is a dull one. That's the way I look at it.
@phrtao
@phrtao Жыл бұрын
Back on KDE Plasma ? That is a really old version (even for Debian !) - 5.20 originally came out in October 2020.
@krzychhoo
@krzychhoo Жыл бұрын
I think that's just one of his VMs, he talked about it in his video about switching to a virtual machine workflow.
@MichaelStiede
@MichaelStiede Жыл бұрын
You look better than 2 years ago, but yet not as healthy as you should be. Take care! All the best for you!
@patpopov
@patpopov Жыл бұрын
Your Firefox extensions need updating.
@Ax4400
@Ax4400 Жыл бұрын
🤣🤣🤣🤟
@themroc8231
@themroc8231 Жыл бұрын
Jesus. I know you always say you like to dabble in KDE, but actually seeing you use a desktop environment with a floating WM feels so wrong...
@TheLinuxCast
@TheLinuxCast Жыл бұрын
😂
@Linuxdirk
@Linuxdirk Жыл бұрын
Your "oh my..." comment hit different because the second you said "oh my bash" I instantly disliked it. 😅
@cgnico3978
@cgnico3978 11 ай бұрын
bloated
@tristen_grant
@tristen_grant 2 күн бұрын
lol
Why I Switched Back to Bash, And Why You Should Too
10:42
The Linux Cast
Рет қаралды 45 М.
Wofi launcher customization on Sway WM [Arch Linux]
20:54
Diego Sandoval
Рет қаралды 34 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 57 МЛН
小路飞和小丑也太帅了#家庭#搞笑 #funny #小丑 #cosplay
00:13
家庭搞笑日记
Рет қаралды 14 МЛН
How to Report on Traffic from AI Tools in GA4
5:34
KP Playbook - Analytics, SEO & Marketing Training
Рет қаралды 7
How and why I switched to Linux
12:22
Thoroughmas
Рет қаралды 255 М.
Make Your Bash Termianl Strong and Sexy with .bashrc
10:45
Mental Outlaw
Рет қаралды 31 М.
Your shell prompt, ON STEROIDS // Starship
9:09
DevOps Toolbox
Рет қаралды 48 М.
Transform Your Scripts With Bash Simple Curses
16:15
DistroTube
Рет қаралды 112 М.
I Used Bluefin For 5 Months - Long  Term Review
39:17
The Linux Cast
Рет қаралды 13 М.
My Bash Prompt
11:39
Chris Titus Tech
Рет қаралды 57 М.
This tiny computer changes EVERYTHING
15:57
Jeff Geerling
Рет қаралды 733 М.
Customize & Colorize Your Bash Prompt/Terminal
18:13
Colt Steele
Рет қаралды 49 М.
The Best Terminal Shell Ever Created
7:24
Tom Delalande
Рет қаралды 55 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 57 МЛН