No video

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

  Рет қаралды 13,837

The Linux Cast

The Linux Cast

2 жыл бұрын

Today I talk about the easiest way to install and customize zsh.
👇 PULL IT DOWN FOR THE GOOD STUFF 👇
Patreon - / thelinuxcast
Liberapay - liberapay.com/thelinuxcast/
KZfaq - / @thelinuxcast
===== Follow us 🐧🐧 ======
Discord - / discord
Odysee - odysee.com/$/invite/@thelinux...
/ thelinuxcast
/ mtwb
Mastodon- fosstodon.org/@thelinuxcast
gitlab.com/thelinuxcast
Subscribe at thelinuxcast.org
Contact us email@thelinuxcast.org
Telegram Group - t.me/+9lYoIuLh0JIyMzcx
Amazon Wishlist - www.amazon.com/hz/wishlist/ls...
Merch Store - zaney.creator-spring.com/
Logo Courtesy of - pedropaulo.net
==== Referenced ====
github.com/romkatv/zsh4humans
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 жыл бұрын
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 жыл бұрын
That's great. I only said the "no support" thing because that is what it said on the github.
@stefmyt5062
@stefmyt5062 2 жыл бұрын
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 жыл бұрын
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.
@alphastudio1020
@alphastudio1020 2 жыл бұрын
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.
@anonsmith3018
@anonsmith3018 2 жыл бұрын
That would be great!
@phonewithoutquestion80
@phonewithoutquestion80 2 жыл бұрын
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.
@methamphetamememcmeth3422
@methamphetamememcmeth3422 2 жыл бұрын
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 жыл бұрын
@@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.
@nukedoom
@nukedoom 2 жыл бұрын
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.
@tazervz
@tazervz 2 жыл бұрын
Please keep on doing these vids
@flogginga_dead_horse4022
@flogginga_dead_horse4022 2 жыл бұрын
been using this a while... love it. Shows Git info, Rust and Go versions cool!!
@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.
@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.
@VictoriaMan69
@VictoriaMan69 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 жыл бұрын
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.
@juanfelipemonsalvevargas602
@juanfelipemonsalvevargas602 Жыл бұрын
Man, this helped me a lot of, thak you so much :)
@GustavAgar
@GustavAgar 14 күн бұрын
you are the best my dude!!
@zeocamo
@zeocamo 2 жыл бұрын
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 жыл бұрын
I was trying to be funny.
@AnalyticMinded
@AnalyticMinded 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.
@benmeuker4921
@benmeuker4921 2 жыл бұрын
well nushell + starship + zellij for nice terminal multiplexer, command promt and a really cool shell.
@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.
@merulox
@merulox 2 жыл бұрын
Thank you for showing me this script, it’ll help me a lot
@cbbcbb6803
@cbbcbb6803 2 жыл бұрын
Interesting. I wish more shells got publicity in addition to bash.
@khfamdfbjds
@khfamdfbjds 2 жыл бұрын
thanks
@anmol3457
@anmol3457 2 жыл бұрын
7:42 😂
@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.
@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
@sotecluxan4221
@sotecluxan4221 2 жыл бұрын
Great!
@paulnuker1831
@paulnuker1831 Жыл бұрын
Is this an alternative to oh-my-zsh or is it a fork of it?
@ogis
@ogis 2 жыл бұрын
The best shell is ash!
@itsfish8672
@itsfish8672 2 жыл бұрын
NVM=Nice vid Matt.
@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.
@Being_Joe
@Being_Joe 2 жыл бұрын
for fzf and ohmyzsh i thike all you have to do is install fzf and enable the plugin.
@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! :(
@wilberticllasuca5770
@wilberticllasuca5770 2 жыл бұрын
Excelente
@iampraneetverma
@iampraneetverma 2 жыл бұрын
Fish shell runs faster on my laptop than the other two bash and zsh.
@iampraneetverma
@iampraneetverma 2 жыл бұрын
@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 жыл бұрын
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.
@redrebel__
@redrebel__ 2 жыл бұрын
lol next video........matt learns bash customization lol
@luxusAI
@luxusAI 2 жыл бұрын
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.
Bash vs ZSH vs Fish: What's the Difference?
13:32
Eric Murphy
Рет қаралды 172 М.
A Linux Shell Prompt That's Out Of This World!
13:30
DistroTube
Рет қаралды 182 М.
👨‍🔧📐
00:43
Kan Andrey
Рет қаралды 7 МЛН
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 29 МЛН
Алексей Щербаков разнес ВДВшников
00:47
Bony Just Wants To Take A Shower #animation
00:10
GREEN MAX
Рет қаралды 4 МЛН
Too lazy to configure ZSH? Just use this script...
12:26
Eric Murphy
Рет қаралды 16 М.
Nextcloud - You Own Your Cloud
16:37
The Linux Cast
Рет қаралды 5 М.
Ly -  A Nerd's Display Manager
13:24
The Linux Cast
Рет қаралды 218 М.
Essential Keybindings For Bash, Fish and Zsh
16:41
DistroTube
Рет қаралды 28 М.
5 Things To Do After Installing Fedora
15:23
The Linux Cast
Рет қаралды 32 М.
XDG-Ninja - A Clean $HOME is a Happy $HOME
8:16
The Linux Cast
Рет қаралды 7 М.
Top 10 Oh My Zsh Plugins For Productive Developers
17:23
Travis Media
Рет қаралды 87 М.
Top 5 Linux Apps - July 2024
11:01
The Linux Cast
Рет қаралды 20 М.
Customizing Zsh
14:42
DevDungeon
Рет қаралды 10 М.
👨‍🔧📐
00:43
Kan Andrey
Рет қаралды 7 МЛН