This Zsh config is perhaps my favorite one yet.

  Рет қаралды 138,813

Dreams of Autonomy

Dreams of Autonomy

Күн бұрын

When it comes to working in the terminal. I like to keep things functional, whilst also trying to keep my environment as zenful as possible.
Recently I've managed to create what I think is the most zenful zsh config out there, which also has a number of powerful interactive features such as fuzzy finding for completions and history.
Video Links:
- Zensh Config: github.com/dreamsofautonomy/z...
- zinit: github.com/zdharma-continuum/...
- fzf tab: github.com/Aloxaf/fzf-tab
- nerd fonts: github.com/ryanoasis/nerd-fonts
Like my tmux config? You can follow the guide on my main channel video ‪@dreamsofcode‬
I'm using the Tokyo Night theme in this video!
00:00:00 Intro
00:00:52 Getting Started
00:01:35 Plugin Manager
00:03:32 Zenful Prompt
00:07:59 Big Three Plugins
00:10:02 Historical Searching
00:12:17 Basic Completion Styling
00:13:29 Fzf and Advanced Completion Styling
00:14:38 More Completions
00:16:16 Better cd command
00:17:02 Dotfiles

Пікірлер: 370
@CoreIceX
@CoreIceX Ай бұрын
Wow face reveal
@santiagoorozco3343
@santiagoorozco3343 Ай бұрын
the face does not match the voice IMO... but good face hahaha
@1..1..1..1H
@1..1..1..1H Ай бұрын
He just did it casually
@areeburrehmankhan1166
@areeburrehmankhan1166 Ай бұрын
He already has kinda done it on discord. Like his pfp is his face. Also in his really old videos he has done it.
@Bliss467
@Bliss467 Ай бұрын
Handsome fella!
@ZacMagee
@ZacMagee Ай бұрын
​@santiagoorozco3343 not what I was expecting at all 😂
@RyanHandby
@RyanHandby Ай бұрын
I can only imagine the amount of time it takes to make videos this smooth. I appreciate the effort these are great.
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
Thank you very much!
@fangg194
@fangg194 Ай бұрын
Top quality video as always. The information, the voice, the style, the edit, everything is on point for me. Thank you so much for taking your time to craft these videos in such a way.
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
Thank you!
@MichaelBauer-pe9ce
@MichaelBauer-pe9ce 29 күн бұрын
I'm deeply impressed. Top-notch video, concise and detailed on the point. Awesome work!
@ericlindell3777
@ericlindell3777 Ай бұрын
Absolutely fantastic video!
@erlgr
@erlgr Ай бұрын
Really nice config! I learned a lot in this video, I'll definitely check try this one out!
@Travis-ko2jo
@Travis-ko2jo 25 күн бұрын
I've watched this video so many times, thank you so much! Very nice work.
@JobStoit
@JobStoit Ай бұрын
Man we need a Dreams of OS. Also nice camera work, you have a natural (or just learned very well) talent for video making and presenting
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
Thank you!
@muslimgamerrr9479
@muslimgamerrr9479 19 күн бұрын
@@dreamsofautonomy do you use zioxide
@jonny.rubber
@jonny.rubber Ай бұрын
Great video. Your editing is amazing.
@dreamsofautonomy
@dreamsofautonomy Ай бұрын
Thank you so much!
@passioncorners
@passioncorners Ай бұрын
Great flow & setup !
@vfmadd231pd
@vfmadd231pd Ай бұрын
This was superb! Now, I’m waiting for a tmux dedicated video 👀
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
Thank you! I actually have one on my other channel: Dreams of Code. I'll be refreshing it for this channel once it hits 1M views.
@marcelliebreich5430
@marcelliebreich5430 26 күн бұрын
@@dreamsofautonomy how do you get the Window Nummer as an Icon?
@souviksaha5416
@souviksaha5416 18 күн бұрын
​@@marcelliebreich5430Same question, it looks pretty dope ngl
@yngshng
@yngshng 18 күн бұрын
top quality tutorial. the complicated part is getting all those different things working together. would have never figured out those zstyle and completion configs myself.
@lastink444
@lastink444 Ай бұрын
i've been using OMZ for some time partially knowing what's hidden behind the fancy facade. I'ts so nice to finally see the manual config with some extra neat additions. Thanks!
@dannierockz
@dannierockz 26 күн бұрын
This is incredible! I didn't even know my shell was capable of all this neatness
@mikaa4366
@mikaa4366 Ай бұрын
Thank you! Amazing timing, I've been planning to fix up my zshrc for some time. And I'm a bit disappointed that you forgot to mention that you use Arch, btw.
@NoctuaDeveloppement
@NoctuaDeveloppement Ай бұрын
Really amazing video with new amazing tools! Really nice to put a face on a voice. 🤩
@iamzareef
@iamzareef 14 күн бұрын
Awesome setup! loved it
@doop9713
@doop9713 Ай бұрын
Elegant and functional config, excellent thank you
@a1mer06
@a1mer06 Ай бұрын
Absolute banger!!!!!!
@comosaycomosah
@comosaycomosah Ай бұрын
Oiy! Good video bro look forward to seeing more content from ya
@recarsion
@recarsion 29 күн бұрын
This is so good and so close to what I was already using that instead of manually adding the extra things I didn't have I just went and copied the entire thing with minor changes, works great
@pooyanisalmani2844
@pooyanisalmani2844 19 күн бұрын
Your content is always amazing! thanks! I think i use every single terminal tool you ever recommended! My terminal looks exactly like yours LOL!
@aaaaliou
@aaaaliou 26 күн бұрын
Thanks for this video. I've been using the same bash configuration for the past 10 years and I've been thinking that it is time for a change.
@tubeDude48
@tubeDude48 Ай бұрын
I just subscribed - This was excellent! Thanks.
@SamEricEdge
@SamEricEdge Ай бұрын
You made this? I made this! Stole 99% of your config to replace my mess of a .zshrc. I was using some of the plugins already, but pulled in from different install methods and what have you. Now my rc is readable! Plus I gained a bunch of new features. Much obliged!
@latch909
@latch909 Ай бұрын
love that you actually have good taste and none of this is just for show
@adibhanna
@adibhanna Ай бұрын
Let's go! the face behind the voice!
@fire17102
@fire17102 Ай бұрын
You literally nailed all the important ones! This is basically what i have but with added matrix rain (different colors for users) and lolcat-neofetch if its the first session since reboot.
@eliasepg
@eliasepg Ай бұрын
Awesome video, thank you!!
@Adam-wz8sh
@Adam-wz8sh 14 күн бұрын
You're tutorials are so good. Keep the quality. It's hard to find good tutorial about linux.
@bibekjha5628
@bibekjha5628 Ай бұрын
Loved the hand movements ❤️❤️
@MichaelScalet72
@MichaelScalet72 Ай бұрын
I came here to tell him to please stop waving his hands so much! 😅
@acvKaZe
@acvKaZe Ай бұрын
Beautiful, Thank you!
@caedis_
@caedis_ Ай бұрын
Great video, was wanting to switch to zsh too
@duncan-mcrae
@duncan-mcrae Ай бұрын
Fantastic tutorial
@themarksmith
@themarksmith Ай бұрын
Useful stuff thanks!
@CaioTechLabs
@CaioTechLabs 5 күн бұрын
His channel is incredible, the way he speaks helps a lot in understanding I am from Brazil and I understand very little English, his Setup is incredible. 😊
@MuntazirSaad
@MuntazirSaad Ай бұрын
High quality content ❤
@w01dnick
@w01dnick Ай бұрын
I've switched to fish from zsh, and haven't been disappointed. Almost everything is much simpler and feels nice.
@Drezaem55
@Drezaem55 Ай бұрын
I did the same a while back. But since I recently started sharing scripts with others I ran into the issue that some scripts have to be sourced (this allows the script to cd the users shell). Now I either have to write the scripts twice (in posix and fish), or have to find ways around the issue. I was already thinking of switching back to zsh, but I couldn't figure out how to decently do the history searching with the up arrow. And now with this tutorial that is fixed so I'm making the switch back.
@F1NEk
@F1NEk Ай бұрын
tokyo night ❤
@MohammadLsk
@MohammadLsk Ай бұрын
That was awesome. I love your content, and it's great to finally see the face behind the voice. Could you make a video about window managers if you use any, or share your approach to handling windows
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
Absolutely!
@mazwrld
@mazwrld Ай бұрын
stealing this right now thanks mate
@1337kaas
@1337kaas Ай бұрын
Haven't refreshed my zsh conf for years. Powerlevel10k looks really nice. Might spend my weekend tweaking my config again 😅
@JPEaglesandKatz
@JPEaglesandKatz Ай бұрын
Fantastic video... !!
@YTit69
@YTit69 25 күн бұрын
Great! keep it up!!! Please do more about terminal features and productivity specially with git, ansible, JS libs and frameworks + html, if you using it!
@Megabeboo
@Megabeboo Ай бұрын
A tutorial on fzf-tab would indeed be lovely!
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
Agreed! Added to the backlog
@navaneeth6157
@navaneeth6157 25 күн бұрын
The Emacs keybinds is REALLY useful, thanks
@JeffBigler
@JeffBigler Ай бұрын
Thanks for the suggestion of fzf-tab, I hadn't heard of it yet and it's awesome. I did notice that the order you are loading some of the plugins can cause issues, so you might want to double check those. For example, fzf-tab warns: `fzf-tab needs to be loaded after compinit, but before plugins which will wrap widgets, such as zsh-autosuggestions or fast-syntax-highlighting`
@Zh4n6Wu
@Zh4n6Wu 27 күн бұрын
This is exactly my problem. fzf-tab does not work for me. When I press TAB, nothing happens.
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
So normally this would be an issue, but zinit should handle completion loading in the correct ordering!
@ascourter
@ascourter Ай бұрын
Great video! I have been dragging my feet to switch to fish over ohmyzsh. I'm gonna use zinit now instead!
@007arek
@007arek Ай бұрын
I have a similar setup but I use fasd in order to have access to opened files. Great that you promote plugin managers.
@mattiasilvestri3488
@mattiasilvestri3488 Ай бұрын
I love these videos, make more and more and more and more. And more.....and more. But I'm desperately curious about that new tmux config...
@nordmu
@nordmu Ай бұрын
thank you so much!
@colton6130
@colton6130 Ай бұрын
Wow been watching for a minute now on your other channel and was super surprised by the face reveal! I am also really enjoying this new channel hope it stays around!
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
I'm really enjoying this channel as well.
@4citi
@4citi Ай бұрын
Super helpful
@llll3816
@llll3816 Ай бұрын
Love the fzf ls preview when using cd. Adding to my config now!
@chyldstudios
@chyldstudios Ай бұрын
Nice arch, btw
@lukeemhigh
@lukeemhigh Ай бұрын
This video pushed me to analyze my zsh startup timings ( I use ohmyzsh ). After a little bit off fiddling I managed to add all the functionality you added to your config and reduce the startup time to 0.08s by lazy loading nvm and removing slow plugins (turns out that omz git plugin was the main culprit, as soon as i removed it I got a 10x improvement in startup times. I wasn't really using it since I prefer lazygit btw)
@dreamsofautonomy
@dreamsofautonomy Ай бұрын
That's some nice improvement to loading! I may have to check out the git plugin on my end as well
@ernestodelgato930
@ernestodelgato930 Ай бұрын
He does not look like what I thought he was gonna look like. Love the new format
@xiaoliu6973
@xiaoliu6973 Ай бұрын
Thanks for posting this video. great content. Can you also post a video about your tmux config?
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
I have a video on it on my other channel "Dreams of Code"!
@xiaoliu6973
@xiaoliu6973 26 күн бұрын
@@dreamsofautonomy Great great job.Good to know that is your channel. Amazing!
@derrekvanee4567
@derrekvanee4567 Ай бұрын
*Derek over at DTOS is gonna come Fish'ing.* This is really dope though. I always used omz despite knowing about this because it seemed ganky but I guess just had to RTFM.
@Redyf
@Redyf Ай бұрын
Lets gooooooo, zsh on top
@AZisk
@AZisk Ай бұрын
Nice video! Good to see a real human too.
@dreamsofautonomy
@dreamsofautonomy Ай бұрын
Thanks dude! Love your content as well
@paradoxpacer
@paradoxpacer Ай бұрын
Awesome video, thanks for the inspiration. Is your current neovim setup somewhere on github?
@Sebastian-mp5ll
@Sebastian-mp5ll Ай бұрын
I love the tmux config as well. Can we get a video on that too please? :)
@hydranooni
@hydranooni Ай бұрын
FACE REVEAL, you look great man and of course, this video was as always good
@macfrag574
@macfrag574 Ай бұрын
Great content, subscribed! Now if I can add a suggestion, what about your tmux setup? It looks quite neat!
@dreamsofautonomy
@dreamsofautonomy Ай бұрын
Thank you! I have an older video on my main channel about tmux, but I'll definitely refresh it for this channel probably when that one hits 1M views :)
@rafalg87
@rafalg87 Ай бұрын
A couple things to consider: HISTDUP=erase might trip you up occasionally when you want to recall a sequence of commands that you run previously. Since duplicate entries get removed, you might not be able to reproduce the exact steps. `setopt sharehistory` is nice but with it on you can't rely on the fact that Up arrow or Ctrl+P gives you the previously run command in that tab/pane. I kept running wrong commands and eventually disabled it 😀An alternative is copying the command you want to run, Ctrl+O is the keybinding in my setup (I think it's the default from either ZSH itself or OhMyZSH).
@VeitLehmann
@VeitLehmann Ай бұрын
Really nice config, very similar to mine! 😅 I also use p10k (lean theme, the rest is like yours), fzf and a similar overall configuration. But instead of zinit, I use zgenom (unofficial successor of zgen), also with some ohmyzsh plugins. Instead of zoxide, I'm still on zsh-z. I'm running this setup almost unchanged since at least 5 years now.
@js24345
@js24345 Ай бұрын
Thanks!
@dreamsofautonomy
@dreamsofautonomy Ай бұрын
Thank you so much for the support. I really appreciate it!
@paras_sevda
@paras_sevda 10 күн бұрын
i really loved the config. really great vibe and aesthetics 🙇‍♂ I wanna know 2 things apart from video. 1.) what theme is your terminal looks like tokyo-night but i see some difference. 2.) how did you customize your fzf
@igrb
@igrb 6 күн бұрын
So good
@AhmadMughal1
@AhmadMughal1 Ай бұрын
One question is by default the zsh-autosuggestions automatically shows the suggestions in the terminal without pressing tab. Is there some way that can be enabled in this it would be very helpful to know. Thank you.
@davidprokopec8037
@davidprokopec8037 Ай бұрын
how do the keybindings change when using zsh-vi-mode? I cant seem to get any control^ keybinds to work.. Great config though!
@hitarthpatel
@hitarthpatel Ай бұрын
lets go zsh
@mrtetillas7504
@mrtetillas7504 15 күн бұрын
i was using luke config, copy-pasta, but actually never use it because it dont behave like a want, so i goint to try your config!!!
@honk_tm
@honk_tm Ай бұрын
MORE PLEASE
@DavidAlsh
@DavidAlsh 15 күн бұрын
How do I use up/down arrow for cycling through history? Also how do I use the "home" and "end" keys to go to the start/end of my terminal line? I'm using the VSCode integrated terminal on Fedora Linux KDE
@FunkySpidey
@FunkySpidey 21 күн бұрын
What desktop environment and theme do u use it looks great
@sumirandahal76
@sumirandahal76 Ай бұрын
Witnessed the chad reveal 😮
@plokil
@plokil 27 күн бұрын
What is the line with tabs in the bottom of your terminal? We need more videos about your configs mate, this one is awesome!
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
Tmux! I have a video on it on my main channel. If you search for "Tmux has forever changed the way I write code" it'll pop up! I'll probably do a new Tmux video at 1M
@tobb10001
@tobb10001 27 күн бұрын
Using Emacs binds in the terminal as a NeoVim user ist the 200 IQ move here. As much as I love NeoVim, Vim keybinds in the CLI are always kinda clumsy. I'll definitely give this a try!
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
It seems counter intuitive on the surface of it but you're 100% correct on the clumsiness
@SharunKumar
@SharunKumar 15 күн бұрын
I want the auto complete dropdown to show as soon as I start typing the first character, and should search history by default - similar to psreadline in powershell. Is there a way to achieve this in zsh?
@BunnyMolester
@BunnyMolester 21 күн бұрын
next video, tmux configuration and better key bindings for fast approach
@wertelyu
@wertelyu 12 күн бұрын
Hi, I really like the content you create, thank you for that. I also customized neovim and tmux, but when I connect to a remote server, it's just a regular command line :( Do you minimally customize the appearance on the remote server? Or when you need to write code or configure something (for example, nginx), do you do it on your local machine and then copy it to the server? I'm just wondering)
@dreamsofautonomy
@dreamsofautonomy 12 күн бұрын
Personally, I keep my personal machines in sync with stow (or home-manager for nix systems) and any production / VPS servers I tend to leave by default. This helps to reduce the number of dependencies on those machines, but also I'm able to tell when I'm remote vs when I'm on a personal computer.
@trimclain
@trimclain Ай бұрын
alias nvim='nvim' at 16:50 is the real gigachad move!
@dreamsofautonomy
@dreamsofautonomy Ай бұрын
I'm glad you noticed! I was too lazy to rerecord it 😄
@user-zd3kz4nu4j
@user-zd3kz4nu4j 18 күн бұрын
Do you know why every time when i open new terminal it's just loaded basic zsh without any themes applied like powerlevel10k, to do that i have to run source ~/.zshrc again over again?
@cwjdog57
@cwjdog57 Ай бұрын
There's always something I can take from your videos to improve my workflows, and today it's definitely fzf-tab. Also, have you tried Antidote as a ZSH manager? It's a bit more "magic" (no ice/git management, and I believe light is effectively the default), but is still super fast!
@dreamsofautonomy
@dreamsofautonomy Ай бұрын
Fzf-tab is really awesome, there's some more awesome things you can do with it as well. Antidote looks really cool! I have a video planned looking at each plugin manager soon 😁
@shamblonaut
@shamblonaut Ай бұрын
Great video! By the way, which tool do you use to display the keys you pressed? It is on linux, isn't it?
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
Correct, it is "showmethekey" It's not the best but one of the only ones that work well on wayland.
@Metruzanca
@Metruzanca Ай бұрын
FISH shell users: "Look What They Need to Mimic a Fraction of Our Power" Fish + starship + lsd + zoxide, all in pretty much stock configuration and you've got a very zen setup. Fish does most of the heavy lifting though honestly.
@dreamsofautonomy
@dreamsofautonomy Ай бұрын
No POSIX though 😔
@danko95bgd
@danko95bgd Ай бұрын
What's the difference between zinit and zim. Zim also seems pretty fast and has its own plugin manager.
@bulldoser2610
@bulldoser2610 Ай бұрын
Hey bruv, Is there a way to enable warp terminal like auto completion (some fzf flag that autometically invokes tab and updates to the most perfect match on the go), and bottom fixed prompt? I would be glad to know. BTW this is the best zshrc guide I've seen so far. Really dig it. Dare I ask, will there be a continuaton of this video? Maybe a series? Thanks.
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
I'll do some research! That would be an awesome way to continue the series.
@omarlittle5802
@omarlittle5802 26 күн бұрын
THANKS!!! 🎉❤ Just setup a branch for my dotfiles called zen and followed along! Also, any chance of going through the Vim key bindings?!?!
@dreamsofautonomy
@dreamsofautonomy 25 күн бұрын
Absolutely! I'll add a video looking at both emacs and vim bindings!
@libredove
@libredove Ай бұрын
any reasons to choose zsh over ksh (OpenBSD default)?
@blackaura9757
@blackaura9757 Ай бұрын
fish: look what they do to imitate a fraction of my power
@deudz
@deudz Ай бұрын
imagine not being posix compliant
@dushmanta05
@dushmanta05 24 күн бұрын
Which Linux distro is this? Arch? I'm rying to use this config in my Ubuntu
@Windeycastle
@Windeycastle Ай бұрын
Those keybinds for navigating the prompt, seem to be native in bash already? I'm talking about ctrl+p/n for back and forth in history, and ctrl-b/f/a/e for jumping left and right
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
Correct! Bash already uses emacs mode thanks to GNU
@Tuna_sub
@Tuna_sub Ай бұрын
What is your tmux theme? It looks really good.
@dreamsofautonomy
@dreamsofautonomy 27 күн бұрын
Tokyo Night!
@daleryanaldover6545
@daleryanaldover6545 Ай бұрын
let's go
@eightohfour
@eightohfour Ай бұрын
How do you have that bar at the botttom of your terminal
@brahyamalmonteruiz9984
@brahyamalmonteruiz9984 Ай бұрын
I'm trying to set up the color list of suggestions using TAB completions but i cant in Linux mint, did somebody had the same problem?
@nelsonfrank
@nelsonfrank 21 күн бұрын
alias ls = lsd lsd is the next gen ls command with lots of added features like colors, icons, tree-view, more formatting options etc.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 911 М.
zoxide has forever improved the way I navigate in the terminal.
9:53
Dreams of Autonomy
Рет қаралды 407 М.
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 52 МЛН
Купили айфон для собачки #shorts #iribaby
00:31
1 класс vs 11 класс  (игрушка)
00:30
БЕРТ
Рет қаралды 3,9 МЛН
Which one of them is cooler?😎 @potapova_blog
00:45
Filaretiki
Рет қаралды 10 МЛН
We may have killed p10k, so I found the perfect replacement.
19:48
Dreams of Autonomy
Рет қаралды 71 М.
7 Amazing CLI Tools You Need To Try
18:10
Josean Martinez
Рет қаралды 227 М.
How Neovim saved me at least 30 minutes today
8:12
Rasmus Bergström
Рет қаралды 8 М.
My Forever Dev Workflow
16:02
typecraft
Рет қаралды 67 М.
What the hell is Zellij?
8:00
typecraft
Рет қаралды 58 М.
How I Install Arch Linux (the hard way).
21:44
Dreams of Autonomy
Рет қаралды 104 М.
My Ultimate Tmux, Zsh, and NeoVim Coding Setup! #dotfiles
5:29
Bash vs ZSH vs Fish: What's the Difference?
13:32
Eric Murphy
Рет қаралды 156 М.
Stow has forever changed the way I manage my dotfiles
8:09
Dreams of Autonomy
Рет қаралды 208 М.
My Entire Neovim + Tmux Workflow As A DevOps Engineer On MacOS
1:08:17
Mischa van den Burg
Рет қаралды 155 М.
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 52 МЛН