Want a Cool Prompt? Try ZSH For Humans - Customize ZSH The Easy Way

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ส.ค. 2024
  • Today I talk about the easiest way to install and customize zsh.
    👇 PULL IT DOWN FOR THE GOOD STUFF 👇
    Patreon - / thelinuxcast
    Liberapay - liberapay.com/...
    TH-cam - / @thelinuxcast
    ===== Follow us 🐧🐧 ======
    Discord - / discord
    Odysee - odysee.com/$/i...
    / thelinuxcast
    / mtwb
    Mastodon- fosstodon.org/...
    gitlab.com/the...
    Subscribe at thelinuxcast.org
    Contact us email@thelinuxcast.org
    Telegram Group - t.me/+9lYoIuLh...
    Amazon Wishlist - www.amazon.com...
    Merch Store - zaney.creator-...
    Logo Courtesy of - pedropaulo.net
    ==== Referenced ====
    github.com/rom...
    My video on Powerlevel10k - • Customize Your ZSH Pro...
    ===== Thanks to Our Patrons! ====
    Tier 7 - Tux Level - Patrons
    Robert M.
    Tier 6 Patrons
    Syd A.
    Tier 5 Patrons
    Devon, Patrick, Fred, Kramer K., Tri-Devil
    Tier 4 Patrons
    Antoine
    Tier 3 Patrons
    Maeglin, Jackson Knife and Tool, Steve A, CyberGuyLinux, Garrick, Samuel, KB, TGB, Keith, Andy P., Unkle Bonehead, Gary A., Ross
    Tier 2 Patrons
    Mitchel, Joris AKA JDawg, carbondated, Shaun, Jeremy, Odin, Martin, Eduardo S., archsinner, Elliott F., Mislav
    Tier 1 Patrons
    Marek, Camp514, Joshua Lee, Peter, Crucible, Darkbadits6, Primus, PM, rlocone, Phillip
    #zsh #linux #thelinuxcast
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 62

  • @yramagicman675
    @yramagicman675 2 ปีที่แล้ว +6

    The creator/manitainer of zsh for humans is active and very helpful on the zsh subreddit. He's helped me with a few bits of zsh scripting. One more reason to love the open source community.

    • @TheLinuxCast
      @TheLinuxCast  2 ปีที่แล้ว +2

      That's great. I only said the "no support" thing because that is what it said on the github.

  • @stefmyt5062
    @stefmyt5062 2 ปีที่แล้ว +4

    Thank you so much for bringing this tool to so many people's attention! I've been wanting to switch to zsh for a long time now, but didn't know where to start, this tool honestly helped me save so many hours.

  • @KatzRool
    @KatzRool 2 ปีที่แล้ว +4

    As far as I'm concerned, zsh is a happy medium. Good amount of features (bloat xd) for an interactive shell, but not totally divorced from standards like fish. I tend to script as portably as possible, so obviously not a good system shell.

  • @tazervz
    @tazervz 2 ปีที่แล้ว +2

    Please keep on doing these vids

  • @phonewithoutquestion80
    @phonewithoutquestion80 2 ปีที่แล้ว +6

    ZSH has great file management methods, so much so you can probably ditch vifm AND the gui file manager if you really wanted to. The speed is the biggest con for me, but most people won't use the bulk of the plugins anyways.

  • @alphastudio1020
    @alphastudio1020 2 ปีที่แล้ว +6

    Hey I would like to know if u can start a series or on live streams complete ricing i3 or dwn for beginners from background to ur alacritty and vim with ur config from ur gitlab and how to add ur own spin on it.From a clean i3 install.Just a suggestion.

  • @methamphetamememcmeth3422
    @methamphetamememcmeth3422 2 ปีที่แล้ว +5

    Zsh is fun but I like to use Fish. Zsh needs to be customised, Fish is customised OOTB. Fish has most QOL functions built-in that you'd need to add plugins for in Zsh. This makes Fish faster than Zsh.

    • @roniez
      @roniez 2 ปีที่แล้ว

      i tend to agree with you however fish is not the easiest to customize and modify to your own unless you know a great deal of stuff.

    • @unklebonehead
      @unklebonehead 2 ปีที่แล้ว

      Being customized OOTB is by definition not customized, lol.

    • @methamphetamememcmeth3422
      @methamphetamememcmeth3422 2 ปีที่แล้ว +1

      @@unklebonehead Well, the main point went over your head. Let me rephrase that. ZSH needs to be customised to add the same functionality that Fish comes with OOTB. Does that make you feel better?
      @roniez fish_config opens a Web UI configuration window in a browser.

    • @unklebonehead
      @unklebonehead 2 ปีที่แล้ว

      @@methamphetamememcmeth3422 Didn't go over my head. I was intentionally being a smart ass.

  • @GustavAgar
    @GustavAgar 23 วันที่ผ่านมา

    you are the best my dude!!

  • @nukedoom
    @nukedoom 2 ปีที่แล้ว +3

    Tks for the vídeo. I’m really new to Linux, I installed fedora on my surface go and it is impressive that it does a much better job than Microsoft on its own hardware. I was wondering how you guys have those cool terminals but didn’t even know which search terms to use. I will give it a shot on my surface.

  • @AnalyticMinded
    @AnalyticMinded 2 ปีที่แล้ว +2

    Just this morning Zaney declared Fish to be the best shell in the history of ever. Are we going to get a fight in the next Linux Cast? We want blood! :P

    • @youtube.user.1234
      @youtube.user.1234 2 ปีที่แล้ว

      I haven’t used fish before but what is so special about fish that many people say it’s the best? I’m a zsh user. I believe fish also can’t run shell scripts because it’s not POSIX compliant or something?

    • @methamphetamememcmeth3422
      @methamphetamememcmeth3422 2 ปีที่แล้ว

      @@youtube.user.1234 Fish does OOTB what you need to configure and add plugins for in ZSH. It's blazing fast as a result.

  • @flogginga_dead_horse4022
    @flogginga_dead_horse4022 2 ปีที่แล้ว

    been using this a while... love it. Shows Git info, Rust and Go versions cool!!

  • @keltyll
    @keltyll 2 ปีที่แล้ว

    Thanks Matt! Love how you explain stuff. I've got a request now, would you please make a serie of videos based on what you know of BASH? Even though you are not TFL, that would be very much appreciated I reckon.

  • @juanfelipemonsalvevargas602
    @juanfelipemonsalvevargas602 ปีที่แล้ว

    Man, this helped me a lot of, thak you so much :)

  • @j1d7s
    @j1d7s ปีที่แล้ว

    Thank you for this! Using this setup I could finally get highlighting and tmux working together! I tried for hours today to make my (oh-my-)zsh setup with syntax-highlighting work together with tmux, but could not get it to work and I needed to source my .zshrc to re-enable highlighting, which was too annoying. The only thing I am missing with zsh for humans a bit is that currently vi mode is not supported, but it's not that essential in the command line after all.

  • @zeocamo
    @zeocamo 2 ปีที่แล้ว +1

    14:30 Matt the most of the rest of the world use 24 hours, but i know UNITS in the USA is foobar.

    • @TheLinuxCast
      @TheLinuxCast  2 ปีที่แล้ว +2

      I was trying to be funny.

  • @VictoriaMan69
    @VictoriaMan69 2 ปีที่แล้ว +2

    after following this guide my terminals load with these errors "locale: Cannot set LC_CTYPE to default locale: No such file or directory" , "locale: Cannot set LC_MESSAGES to default locale: No such file or directory" and "locale: Cannot set LC_COLLATE to default locale: No such file or directory" Any idea how to resolve this?

    • @redejandrog.r2965
      @redejandrog.r2965 2 ปีที่แล้ว +2

      I have this problem too but only when using the man comand are you on arch?

    • @VictoriaMan69
      @VictoriaMan69 2 ปีที่แล้ว

      @@redejandrog.r2965 yes I am on arch linux

    • @redejandrog.r2965
      @redejandrog.r2965 2 ปีที่แล้ว

      @@VictoriaMan69 then it might be a problem with the way that we installed it, at least i 've just fin ish the install when that happened

    • @aronwomack359
      @aronwomack359 2 ปีที่แล้ว

      LC_ ALL maybe, I hated getting those messages when I was screwing with my bashrc, and trying these fancy scripts lol. look into your .zshrc, I would suggest just going back with bash, I mean all those fancy color scripts and fonts, make it a little slower, anyways, hope you got it fixed. environment variables can be a pita sometimes.

  • @sotecluxan4221
    @sotecluxan4221 2 ปีที่แล้ว

    Great!

  • @khfamdfbjds
    @khfamdfbjds 2 ปีที่แล้ว

    thanks

  • @merulox
    @merulox 2 ปีที่แล้ว

    Thank you for showing me this script, it’ll help me a lot

  • @redrebel__
    @redrebel__ 2 ปีที่แล้ว

    hey matt as someone who minimully knows the difference between the shells and not sure what the reason is when bash is more popular. could you maybe do a video or multiple going through some of the basics of why you'd use different shells and switching between shells. im probably gonna stick to bash just cause i don't know anything about it. but i'd like to learn more about them. i just know that for instance some people use one shell but still use bash for scripts. i just haven't really found much of a clear explaination.

  • @benmeuker4921
    @benmeuker4921 2 ปีที่แล้ว

    well nushell + starship + zellij for nice terminal multiplexer, command promt and a really cool shell.

  • @cbbcbb6803
    @cbbcbb6803 2 ปีที่แล้ว

    Interesting. I wish more shells got publicity in addition to bash.

  • @anmol3457
    @anmol3457 2 ปีที่แล้ว

    7:42 😂

  • @itsfish8672
    @itsfish8672 2 ปีที่แล้ว

    NVM=Nice vid Matt.

  • @ogis
    @ogis 2 ปีที่แล้ว

    The best shell is ash!

  • @kjlw99
    @kjlw99 2 ปีที่แล้ว

    bash-it makes having to use a bash shell tollerable for me with fancy prompt really easily, and menu add of completions and aliases.
    I customize all of the shells.

  • @wilberticllasuca5770
    @wilberticllasuca5770 2 ปีที่แล้ว

    Excelente

  • @wisnoskij
    @wisnoskij 2 ปีที่แล้ว

    Alternative shells are weird. Like they are entirely new languages, that no one uses because then their shell script would be incompatible for most people, and instead we just install them to have pretty colours in the terminal. Like I dont understand why the people who made ZSH or Fish did not just rewrite Bash to be 100% compatible, but built from the ground up to be customizable and ship with pretty colours and auto suggestions.

  • @paulnuker1831
    @paulnuker1831 ปีที่แล้ว

    Is this an alternative to oh-my-zsh or is it a fork of it?

  • @mentalmarvin
    @mentalmarvin 2 ปีที่แล้ว

    I tried z4h before, but it seemed to pull in oh-my-zsh bloat, and it didn't work well with tmux

  • @iampraneetverma
    @iampraneetverma 2 ปีที่แล้ว +1

    Fish shell runs faster on my laptop than the other two bash and zsh.

    • @iampraneetverma
      @iampraneetverma 2 ปีที่แล้ว +1

      @Watcher yeah after using omf, i tried startship too, so easy to setup and looks nice, starship prompt with bash was so slow, taking like 15 seconds to show the prompt after opening terminal!

    • @methamphetamememcmeth3422
      @methamphetamememcmeth3422 2 ปีที่แล้ว

      Same here actually. It's blazing fast.

    • @iampraneetverma
      @iampraneetverma 2 ปีที่แล้ว

      @Watcher exactly 😅

  • @thingsiplay
    @thingsiplay 2 ปีที่แล้ว +1

    cmon... my second attempt of reply got also deleted.
    All I am saying is don't execute random scripts from web without looking into it.

    • @youtube.user.1234
      @youtube.user.1234 2 ปีที่แล้ว

      yeah that’s true. I was wondering, is there a way to see the code of the script if you have the link? I think it’s possible using the “curl” command

    • @methamphetamememcmeth3422
      @methamphetamememcmeth3422 2 ปีที่แล้ว

      @@youtube.user.1234 There should be source on git itself.

  • @milohoffman274
    @milohoffman274 2 ปีที่แล้ว

    >Sorry, vi keybindings are not supported yet
    WHOMP WHOMP

    • @TheLinuxCast
      @TheLinuxCast  2 ปีที่แล้ว

      Is that what it says when you choose that?

    • @milohoffman274
      @milohoffman274 2 ปีที่แล้ว

      @@TheLinuxCast yep, sad face.

  • @AhmedFaisal13
    @AhmedFaisal13 2 ปีที่แล้ว

    I need a slightly different thing.
    I'm using tty console quite a lot, but nowadays I depend on accessibility assists to use the computer. so I need to control - mainly increase- the font size. how can I do that?

    • @AhmedFaisal13
      @AhmedFaisal13 2 ปีที่แล้ว

      @@etherweb6796 No Nvidia, I have AMD desktop APU. 4650g pro to be precise.
      I fail to see what the graphic card has to do with anything here! all I know that if the graphic proprietary driver is working propably, the TTY console getting set at a high resolution -which mean smaller font- which is quite the opposite of what I want!
      And no, both default bigger and default smaller won't work for me. My sight is really poor so I need to set the font size myself. it's this or I must use the mobile camera as a magnifier all the time! :(

  • @redrebel__
    @redrebel__ 2 ปีที่แล้ว

    lol next video........matt learns bash customization lol

  • @Being_Joe
    @Being_Joe 2 ปีที่แล้ว

    for fzf and ohmyzsh i thike all you have to do is install fzf and enable the plugin.

  • @luxusAI
    @luxusAI 2 ปีที่แล้ว +1

    z4h is great. too bad there is no more development :(

  • @linuxpunto7063
    @linuxpunto7063 2 ปีที่แล้ว

    If you really want something cool, use fish, zsh is for noobs

    • @olifloof
      @olifloof 2 ปีที่แล้ว

      fish isn't posix compliant and I use posix scripts on an almost daily basis, so it isn't an option for me

    • @methamphetamememcmeth3422
      @methamphetamememcmeth3422 2 ปีที่แล้ว

      @@olifloof That's why you're on Linux. You can do whatever the hell you want.

    • @linuxpunto7063
      @linuxpunto7063 2 ปีที่แล้ว

      @@olifloof if you have installed bash on your system you will not have any problems launching bash scripts with fish shell. The most important is shebang that tells system to use bash when run a script.