Prettify Your BASH Prompt

  Рет қаралды 15,256

The Linux Cast

The Linux Cast

Күн бұрын

Today I talk about how to make your bash prompt pretty and more useful!
👇 PULL IT DOWN FOR THE GOOD STUFF 👇
Patreon - / thelinuxcast
Liberapay - liberapay.com/thelinuxcast/
KZbin - / @thelinuxcast
===== Follow us 🐧🐧 ======
Discord - / discord
Odysee - odysee.com/$/invite/@thelinux...
TILvids - tilvids.com/c/thelinuxcast_ch...
Mastodon- fosstodon.org/@thelinuxcast
gitlab.com/thelinuxcast
The Website thelinuxcast.org
Contact us email@thelinuxcast.org
Amazon Wishlist - www.amazon.com/hz/wishlist/ls...
Logo Courtesy of - pedropaulo.net
==== Special Thanks to Our Patrons! ====
thelinuxcast.org/patrons/
==== Referenced ====
github.com/ohmybash/oh-my-bash
==== Time Stamps ====
0:00 Intro
2:18 Installation
3:24 The Prompt
3:49 Bashrc Backup
4:36 Oh My Bash Changes
5:04 Themes
7:05 Fonts!
8:23 Plugins
9:52 Completions
11:21 Wrapping Up
#bash #linux #thelinuxcast

Пікірлер: 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
@muntazirsaad1603
@muntazirsaad1603 Жыл бұрын
Amazing video as always
@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.
@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!
@ffvbnbvxdvhggb
@ffvbnbvxdvhggb Жыл бұрын
This looks cool! Starship is also worth looking at!
@wisnoskij
@wisnoskij Жыл бұрын
This, Starship is so simple.
@nomoremeetings1183
@nomoremeetings1183 Жыл бұрын
I too am lazy and now my bash terminal is looking sharp.
@synen
@synen Жыл бұрын
Thank you, I needed this video.
@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
@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.
@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.
@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" 💻👍
@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"
@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.
@isbelmont
@isbelmont Жыл бұрын
Thank you. why is not the original code of .bashrc in the new .bashrc created by ohmybash?
@SB-qm5wg
@SB-qm5wg Жыл бұрын
using neovim with a vim alias or vim with spellcheck plugins?
@shauryachavan1284
@shauryachavan1284 Жыл бұрын
So damn cool!
@aayushvyas6820
@aayushvyas6820 Жыл бұрын
Samwell Tarley from GOT
@NotReallyATree1
@NotReallyATree1 Жыл бұрын
I wonder if you've ever given Starship Prompt a try, it's really good.
@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.
@t0menlegam890
@t0menlegam890 Жыл бұрын
like synth shell
@Stopinvadingmyhardware
@Stopinvadingmyhardware Жыл бұрын
ZSH is default on Mac OS.
@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!
@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.
@cgnico3978
@cgnico3978 5 ай бұрын
how's going your programming journey btw?
@TheLinuxCast
@TheLinuxCast 5 ай бұрын
I like Python, but it is slow-going. I keep having to start over, it feels like. But I can do a bit.
@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.
@Ax4400
@Ax4400 Жыл бұрын
🤣🤣🤣🤟
@patpopov
@patpopov Жыл бұрын
Your Firefox extensions need updating.
@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 5 ай бұрын
bloated
Why Compile From Source?
12:10
The Linux Cast
Рет қаралды 4,3 М.
12 GREAT command line programs YOU recommended!
16:25
The Linux Experiment
Рет қаралды 220 М.
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 179 МЛН
Essential Keybindings For Bash, Fish and Zsh
16:41
DistroTube
Рет қаралды 27 М.
Was I Wrong About Gnome?
12:17
The Linux Cast
Рет қаралды 11 М.
Why I Use Void GNU/Linux (And Why You Should, Too!)
8:20
waffles
Рет қаралды 8 М.
Update Windows Before Watching This - WAN Show June 14, 2024
Linus Tech Tips
Рет қаралды 13 М.
Beautiful Bash
8:42
Chris Titus Tech
Рет қаралды 162 М.
This Zsh config is perhaps my favorite one yet.
17:24
Dreams of Autonomy
Рет қаралды 133 М.
Solving the Dotfiles Problem (And Learning Bash)
8:22
Bartek Spitza
Рет қаралды 85 М.
How To Build a $700 Gaming PC
24:33
Greg Salazar
Рет қаралды 15 М.
How to Customize XFCE - Make XFCE Stand Out
45:17
The Linux Cast
Рет қаралды 81 М.
Непробиваемый телевизор 🤯
0:23
FATA MORGANA
Рет қаралды 292 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 717 М.