Prettify Your BASH Prompt

Поділитися
Вставка
  • Опубліковано 15 лис 2024

КОМЕНТАРІ • 44

  • @Winnetou17
    @Winnetou17 Рік тому +6

    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 Рік тому +8

    Shall give this a shot on Arch, thank you!

  • @wyfyj
    @wyfyj Рік тому +4

    Thank you for this Matt! Gonna have to look into this

  • @ffvbnbvxdvhggb
    @ffvbnbvxdvhggb Рік тому +3

    This looks cool! Starship is also worth looking at!

    • @wisnoskij
      @wisnoskij Рік тому +1

      This, Starship is so simple.

  • @thingsiplay
    @thingsiplay Рік тому +3

    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 Рік тому +2

    "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!

  • @t.b.s4478
    @t.b.s4478 Рік тому +1

    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" 💻👍

  • @JakeLinux
    @JakeLinux Рік тому +10

    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 Рік тому +3

      Would love to see a video on how to do that.

    • @JakeLinux
      @JakeLinux Рік тому +1

      @@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

  • @nomoremeetings1183
    @nomoremeetings1183 Рік тому +1

    I too am lazy and now my bash terminal is looking sharp.

  • @muntazirsaad1603
    @muntazirsaad1603 Рік тому +3

    Amazing video as always

  • @linuxdabbler
    @linuxdabbler Рік тому +3

    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.

  • @ringo8410
    @ringo8410 Рік тому +4

    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 Рік тому +1

      Starship is awesome. I use it to make my bash terminal very minimal and simple looking.

  • @keylowmike85
    @keylowmike85 Рік тому +1

    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!

  • @synen
    @synen Рік тому +1

    Thank you, I needed this video.

  • @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 Рік тому +1

    Samwell Tarley from GOT

  • @ismendoza
    @ismendoza Рік тому

    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?

  • @capability-snob
    @capability-snob Рік тому +1

    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  Рік тому +2

      A world without themes is a dull one. That's the way I look at it.

  • @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.

  • @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.

  • @t0menlegam890
    @t0menlegam890 Рік тому

    like synth shell

  • @shauryachavan1284
    @shauryachavan1284 Рік тому

    So damn cool!

  • @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!

  • @cgnico3978
    @cgnico3978 10 місяців тому

    how's going your programming journey btw?

    • @TheLinuxCast
      @TheLinuxCast  10 місяців тому +1

      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.

  • @patpopov
    @patpopov Рік тому

    Your Firefox extensions need updating.

  • @Ax4400
    @Ax4400 Рік тому

    🤣🤣🤣🤟

  • @themroc8231
    @themroc8231 Рік тому +1

    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...

  • @Linuxdirk
    @Linuxdirk Рік тому

    Your "oh my..." comment hit different because the second you said "oh my bash" I instantly disliked it. 😅

  • @cgnico3978
    @cgnico3978 10 місяців тому

    bloated