Zsh: Finally Switching My Linux Shell To A Way Better Shell

preview_player
Показать описание
Since the day I started using Linux I've been running bash as my shell but I've finally got around to finally switching over to zsh (zshell) and so far I haven't regretted my choice at all, it's a way better shell from a user experience perspective. I don't care about the scripting extensions since I just do everything in POSIX script to begin with so the user experience is what I care about. Having way better tab completion and syntax was all I needed to switch and everything else is just extra bonuses.

💖 Subscribe and ding the bell for more videos!
👍 Leave a like if you got something out of this video!
✍ Comment some video feedback or what you want to see next time!

==========Resources==========
Zsh Arch Wiki:

==========Support The Channel==========
Patreon:

Paypal:

BTC Wallet Address:
1Aokiv3pFQXUEmh2LbzZQAwxMvq6bpT2UN

ETH Wallet Address:
0x80451867c86bdf08c3888d407c1e3fcb6add61ed

LBC Wallet Address:
bLRN9fm17sCexKfgbYqmMj5xskZF2ogpEh

==========My Links==========
📚 LBRY Referral:

🎥 LBRY:

🎤 Discord:

✉️ Telegram:

🐦 Twitter:

🌐 Mastodon:

🖥️ GitHub:

==========Credits==========
🎵 Opening music
Creative Commons — Attribution 3.0 Unported — CC BY 3.0

🎵 Ending music
Рекомендации по теме
Комментарии
Автор

What shell do you run and why do you run it, is it bash, zsh, fish, or maybe it's one of the weirder shells like xonsh. Let me know down below.

BrodieRobertson
Автор

I love how honest this guy is: "I don't understand most of it I just stole it all from Luke Smith"

jorgeromeu
Автор

I really need to learn vim already, amazing how many different types of cli applications use vim bindings

lemler
Автор

This made me jump to Zsh (and I borrowed a lot from your config file). Thanks!

bertilow
Автор

6:05 that was driving me crazy yesterday! So glad I decided to rewatch all your zsh videos AFTER switching.

RichardBronosky
Автор

I use fish. It's got all the functionality and more of zsh but you don't have to set up everything yourself and it's extremely user-friendly. People complain about it's non-standard syntax but I don't think it's a big deal, you can still write scripts in POSIX-compliant syntax (if you want to) and just use the features of fish as an interactive shell

maxarendorff
Автор

The vim plugin is great if you want to edit commands and the syntax highlight is great too.

bitcointrader
Автор

Video on prompt, spaceship has many features by default. Would love to see a video explaining spaceship or any other prompt

a_maxed_out_handle_of__chars
Автор

Hey Brodie. Just a suggestion for a change in your. zshrc.
Shift the neofetch call below the check for not being in interactive shell. It's pointless to run neofetch if it's not an interactive shell.

conceptrat
Автор

Wow you went from aiming for 1000 subs to having 9000 subs pretty quick! Good job!

AkamiChannel
Автор

I didn't know about edit-command-line, it is pretty damn useful.

Quite often, I start writing a command in the shell, realize that it's getting a bit too complex and I should make a script instead. Now it's one key combination, and I can edit the command in an editor. No need to copy and paste.

I added a second key binding to do the same in my IDE. So now Ctrl+E opens Vim, and pressing Ctrl+E twice opens VSCode. I had to create another widget for that, widgets don't seem to allow using environment variables.

SamiKankaristo
Автор

SAVE_HIST is the number of lines a single shell can append to your history file before it won't save anymore iirc

travishopkins
Автор

I'm sticking with bash. I'm comfortable with it and I don't want to learn another shell language.

drumpfall
Автор

I think you would prefer this as your "man upgrade": export MANPAGER="nvim -c 'set ft=man' -" #nvim is manpager

MirkoVukusic
Автор

btw in bash at least on my manjaro setup. that last auto complete list thing, in there by default. just tab twice, and its there not just for man pages. but anything, dirs and commands. kinda cool, but you cant navigate the list tho like you can here :/

waltereikrem
Автор

So... you bringing PowerShell 5.1 goodies into Linux cli experience. Nice.

PaulBunkey
Автор

Video should be titled "Luke Smith's zsh aliases that I don't understand. Bash sucks, ZSH is incredible"

ChrisCox-wvoo
Автор

On the video on 8:34 u a using lc (bind on ^g) to choose file/dir.
what is the lc?

ulyahin
Автор

Not being able to backspace when re-entering insert mode is not a bug. That's default vi behavior. It only allows you to backspace characters you have typed since entering insert mode. (Though I will admit it's quite annoying even if it does teach you to only use insert mode for inserting).

scorch
Автор

Where should my .zshenv go? I'd like to keep as much in my $XDG_HOME_DIRECTORY as possible, but having a single master file like ~/.zprofile to handle locations for everything in ~/.config/zsh is also an option...

travishopkins