zoxide has forever improved the way I navigate in the terminal.

Поделиться
HTML-код
  • Опубликовано: 16 май 2024
  • For the longest time, I've used cd exclusively for navigating in the terminal.
    However, when it comes to nested directories, the only way to speed this up was to either use aliases or my shell history.
    Since discovering zoxide, that's all changed...
    Links:
    zoxide: github.com/ajeetdsouza/zoxide
    wallpaper: www.freepik.com/free-vector/g...

Комментарии • 730

  • @psy667
    @psy667 2 месяца назад +50

    Thank you!

    • @dreamsofautonomy
      @dreamsofautonomy  2 месяца назад +10

      Thank you so much for the support! It means the world to me

  • @Sollace
    @Sollace 3 месяца назад +1885

    Me who still navigates in the shell with "cd dir1, ls, cd dir2":

    • @lobotomy-victim
      @lobotomy-victim 3 месяца назад +326

      cd dir1, ls, clear, cd dir2, clear ***

    • @abdussomodadigun1760
      @abdussomodadigun1760 3 месяца назад +61

      ​@@lobotomy-victimI don't know why but I also do this

    • @ArcamNight
      @ArcamNight 3 месяца назад +248

      cd dir1/ *TAB TAB TAB TAB* mmmmh... dir2 enter

    • @DK1213
      @DK1213 3 месяца назад

      @@abdussomodadigun1760I do it because I feel cool when I do

    • @sharpfang
      @sharpfang 3 месяца назад +196

      I'm not even using ls to list the directory. 'ls' is the command of 'wait, let me gather my thoughts and decide what next'.

  • @killermonkey1392
    @killermonkey1392 3 месяца назад +725

    Started the video thinking "eh, cd is quick enough for me." Finished the video thinking "I should really give this a go." Well done!

    • @dreamsofautonomy
      @dreamsofautonomy  3 месяца назад +37

      I had the exact same opinion when I started looking at zoxide!

    • @JefCollier
      @JefCollier 2 месяца назад +5

      Same here! And unfortunately I was just planning to watch this vid and move on. Now I'm focused on getting this installed before my next meeting!

    • @ByteSizedSec
      @ByteSizedSec 2 месяца назад

      absolutely the same thing here!

    • @asterisklikeschicken
      @asterisklikeschicken 2 месяца назад

      I ❤

  • @FinlayDaG33k
    @FinlayDaG33k 3 месяца назад +208

    Narrator: "Zeee-Oxide"
    Me: "Zohxide."

  • @patto2k358
    @patto2k358 3 месяца назад +133

    TIL about cd -

    • @JamesTM
      @JamesTM 2 месяца назад +4

      I'm glad I'm not the only one.

    • @_RafaelKr
      @_RafaelKr Месяц назад +1

      I was using pushd and popd for that, but cd - is much better 🤯

    • @kumarraj197
      @kumarraj197 Месяц назад +1

      ​@@_RafaelKr the objective is different. With pushd, u get to a specific dir. With cd - , u get to the last dir

    • @_RafaelKr
      @_RafaelKr Месяц назад +1

      @@kumarraj197 Yes, but sometimes I used pushd to go to a specific dir and used popd to go back to the last directory. So if I only need that simple one-time-back-functionality cd - is the perfect fit. So the only advantage of pushd+popd is the stacking functionality but I rarely need that.

    • @tomasprochazka6198
      @tomasprochazka6198 27 дней назад

      And today you will learn about CDPATH

  • @bweis96
    @bweis96 3 месяца назад +281

    Zoxide is amazing. Never changing back.

    • @Rastafa469
      @Rastafa469 3 месяца назад +29

      You mean you'll never cd -

    • @chotabomjvonychi3485
      @chotabomjvonychi3485 2 месяца назад +2

      fzf?

    • @ghosthunter0950
      @ghosthunter0950 28 дней назад

      ​@@chotabomjvonychi3485ye, but I guess you can still use zoxide to change to the directory you're fzfing

  • @0xchilli
    @0xchilli 3 месяца назад +317

    finally a reason to type the letter z

    • @w.e.b_b
      @w.e.b_b 3 месяца назад +4

      Best comment. Hands down

    • @sunofabeach9424
      @sunofabeach9424 2 месяца назад +2

      a second one

    • @yashshindey
      @yashshindey 2 месяца назад

      @@sunofabeach9424 You can always try aliasing z to cd if u are still stuck on old habits.

    • @s1nistr433
      @s1nistr433 2 месяца назад +2

      alias z="zsh"

    • @envynoir
      @envynoir 2 месяца назад

      @@s1nistr433why would you create an alias for that

  • @cleancapsco
    @cleancapsco 2 месяца назад +22

    The quality of this video and value of content led me to believe I had discovered a channel full of hidden gems. Then I found out you only have 3 videos. DONT STOP CREATING CONTENT PLEASE

    • @FakeDumbDummy
      @FakeDumbDummy Месяц назад

      He have one more channel, 'dreams of code'
      It has way more than 3 videos , you will love it

  • @AnalyticMinded
    @AnalyticMinded 3 месяца назад +94

    I had heard about zoxide for a good while now, but I stubbornly kept using 'cd' because.... minimalism and all that. However, I caved about two days ago, since I was getting tired of cd-ing full paths / tabbing. So far, it's been great! I'm starting to think I won't be going back! :D

    • @dreamsofautonomy
      @dreamsofautonomy  3 месяца назад +1

      Both of us were convinced!

    • @johnpulawski35
      @johnpulawski35 Месяц назад

      how are you going up a directory? ex: cd ..? with the rebinding cd .. no longer works?

    • @AnalyticMinded
      @AnalyticMinded Месяц назад

      @@johnpulawski35 I type 'z' instead of 'cd' (haven't rebound). And since I use zsh, going up a directory is just two dots '..'

  • @petermousses
    @petermousses Месяц назад

    I just discovered this channel, and I am really impressed by the content and the quality of your videos. Keep up the good work!

  • @adiswa123
    @adiswa123 3 месяца назад +35

    Your channel seems really new, so just wanted to say this was a really really high quality video! Absolutely loved it! Looking forward to your content in the future.

    • @anthoantho1989
      @anthoantho1989 3 месяца назад +2

      He has another channel called Dreams of Code.

  • @greyfade
    @greyfade 3 месяца назад +22

    This seems like a lot of effort to avoid using tab completion

    • @dreamsofautonomy
      @dreamsofautonomy  3 месяца назад +2

      That tab key is just too close to capslock.
      Jk, I've rebound it 😆

    • @BlackHairedTidus
      @BlackHairedTidus 15 дней назад +1

      ​@@techtudei think he meant " ust idding"

  • @JohnDlugosz
    @JohnDlugosz 3 месяца назад +34

    Note that the 4DOS command shell, from the 1980's, which became 4NT and now _Take Command_ , has had fancy cd features. It doesn't do multi-fragments like that, but it does remember the full paths of directories so you can give it just the final name, use a CDPATH variable, cd history, and more.

    • @MatthewMakesAU
      @MatthewMakesAU 3 месяца назад +3

      I relied on 4OS2 back in the day

    • @MattHudsonAtx
      @MattHudsonAtx 3 месяца назад +2

      4dos was awesome. I also used Norton CD aka ncd

    • @jammin023
      @jammin023 3 месяца назад +4

      4dos was great. Another feature I really liked was you could just add another . to go up another level. So cd .... instead of cd ../../.. (or ..\..\..)

  • @3luizcunha
    @3luizcunha 3 месяца назад

    Always great to see your videos popping up on my timeline. Waiting for your NAS related videos :)

  • @Siik94Skillz
    @Siik94Skillz 2 месяца назад +1

    You really closed with a BANG! That last point was what I was thinking during the whole video and then you gave a solution! Very very well crafted ending! Installing zioxide right now

  • @sunnysideup4863
    @sunnysideup4863 3 месяца назад +4

    Very cool. Installed zoxide and looking forward to using it!

  • @coralsikes4718
    @coralsikes4718 2 месяца назад

    this recommendation showed at a perfect time. I was wondering of a smarter or better implementation of cd aliases last week lol. great video man, will definitely give zoxide a shot

  • @TheGRoques
    @TheGRoques 2 месяца назад +1

    This is the most comprehensive overview of zoxide I've seen. Well done and thanks!

  • @BarraIhsan
    @BarraIhsan 2 дня назад

    Just found out about this channel and instantly subscribed because of the high quality video. Keep up the hard work 👍

  • @Biotico
    @Biotico 2 месяца назад

    I didn't know how much I needed this tool in my life... Awesome!!!

  • @ultradude5410
    @ultradude5410 3 месяца назад +106

    What I do is more of a direct improvement to the path-specific cd aliases. Zsh includes a CDPATH, a set of paths, subdirectories of are considered cd-able
    If you have ~ in your CDPATH, for example, then you can, from any working directory, do `cd Documents` to cd to ~/Documents
    I have a bookmarks directory in my CDPATH full of symlinks to various directories of note
    This makes cd-big to them real easy, and they’re also more quickly available to get a path to a subdirectory (for things like `nvim ~/bookmarks/a_link/whatever`
    I also have a simple little script to “link a link to CWD in bookmarks`
    It works great for me!
    And it’s all very simple to use, and there’s never surprises or.unexpected behavior

    • @emilhauk
      @emilhauk 3 месяца назад +8

      CDPATH is awesome. Combined with `set completion-ignore-case on`, fzf for Ctrl+R and possibly autocd you’d get a pretty sweet experience, even with good old bash. But these features are also available for zsh and others.

    • @elle305
      @elle305 3 месяца назад +7

      bash also offers CDPATH

    • @st3ppenwolf
      @st3ppenwolf 3 месяца назад

      Is there a eMacs integration?

    • @trejohnson7677
      @trejohnson7677 2 месяца назад

      @@st3ppenwolfjust use normal emacs bookmarks, much more sophisticated, u can literally bookmark arbitrary elisp functions (e.g. open up multiple buffers, paste ish in, run external procs, initialize ur death star, fire ur lazor)

  • @ChosunOne
    @ChosunOne 3 месяца назад +14

    A real treat! Love this channel. I've been following your channels since the tmux video and I have never looked back.

    • @diego898
      @diego898 3 месяца назад

      100% the same!!

    • @EXQEX9
      @EXQEX9 3 месяца назад +2

      This comment an example of you looking back. Now you'll never again be able to say that about this channel honestly. The end of an era.

  • @hukum5726
    @hukum5726 2 месяца назад

    Wake up in the morning and watched this amazing video, i had already installed this few days ago but i was unaware this interesting features of zoxide,,, thanks manh❤

  • @ZacMagee
    @ZacMagee 3 месяца назад +5

    Man, I am a new Linux user. Arch BTW. And your last 2 videos have completely changed the way I work! First stow and now this!

  • @yashshindey
    @yashshindey 2 месяца назад +1

    i aliased z to cd and zi to cdi and i am quite happy with the way it's working.
    Thank you!

  • @Lewdiculous
    @Lewdiculous 3 месяца назад +2

    I've been sort of doing that the PowerShell/PSReadLine module.
    But this really is next level, I'll certainly incorporate that.

  • @iriolavagno4060
    @iriolavagno4060 2 месяца назад

    you just made my day, going to use it from now on, thank you!

  • @servererror_500
    @servererror_500 3 месяца назад

    Thank you for the tip! This is a life changer. Your videos are very clever and clear.

  • @pubdigitalix
    @pubdigitalix 3 месяца назад +4

    This new channel is amazing. Please, make a video about your desktop environment or window manager and the customization seeing in the video. It's beautiful.

  • @ivar9125
    @ivar9125 3 месяца назад

    Thank you so much for these really high quality and well thought out videos.
    Can only agree, it’s an amazing tool that took me about a minute to start loving

    • @dreamsofautonomy
      @dreamsofautonomy  3 месяца назад

      Thank you for watching them! I'm glad people enjoy them

  • @iki_kaf
    @iki_kaf Месяц назад

    Damn, these videos have such a high quality. You are great at explaining things

  • @stefankamphausen6524
    @stefankamphausen6524 2 месяца назад +5

    Great to see more cd efficiency being built. I'm still fine with cdargs, which I wrote over 20 years ago 😇

  • @user-nq9vh7mv7k
    @user-nq9vh7mv7k 3 месяца назад +1

    Oh another channel that I will constantly binge every future video from, nice

  • @gh0st777
    @gh0st777 Месяц назад

    Great content, clear, concise, and very helpful. Keep it up! You earned a subscriber.

  • @lukeemhigh
    @lukeemhigh 3 месяца назад +6

    Switched to zoxide a couple months ago and never looked back since.
    Great video as always, this channel is gold!!

  • @NoLoseJustLearn
    @NoLoseJustLearn 3 месяца назад +5

    Might have to try this. Fzf is my bread and butter for speeding up directory navigation

  • @andresgoens
    @andresgoens 3 месяца назад +6

    cool video, I'll give those a try! by the way, you can use Ctrl+l instead of clear to clear the window (the main advantage is that that way you don't clutter your history with clears)

  • @jacobdegeling
    @jacobdegeling Месяц назад

    Been using z (jump around) for years, but this takes it to another level. Thanks, will surely give it a go. I think its the fuzzy finding that might win me over

  • @StephanHradek
    @StephanHradek 2 месяца назад

    I even started installing while the video was still running. Thanks for you work.

  • @gery49
    @gery49 3 месяца назад

    How did I not hear about this tool already? It's fantastic!

  • @ben_sch
    @ben_sch Месяц назад

    The alias z=cd is game changer for me as this is what kept me from using it across multiple machines. Gonna set it up soon thanks a ton!

  • @grantstoltman1469
    @grantstoltman1469 2 месяца назад

    I'm not sure if zoxide is for me and my workflow, but I still loved the whole video because of your editing and explanations, top tier quality! Please give us some more videos like this for other tools :)

  • @Sh1ken
    @Sh1ken 3 месяца назад

    Your content is top notch! Looking forward to your tmux tutorial.

  • @destinariaanifer1984
    @destinariaanifer1984 3 месяца назад +1

    Dude, when i used just two words to travel into a full path, i was shocked! This is so damn good!

  • @tanaybhomia2784
    @tanaybhomia2784 2 месяца назад

    The production is amazing , underrated

  • @daniel156161
    @daniel156161 26 дней назад

    looks like a nice tool, i will give it a go and i think it will boost my productivity too
    i really like that i can jump directly to any folder or a external device from anywhere just by calling the name

  • @brunesi
    @brunesi 3 месяца назад

    this looks like a very well executed idea for an applicability quite niche. I particularly never found need for this set of functionalities in the way zoxide implemented them. Besides, with good configuration and strategic addition of packages, zsh provides a very agile behavior on the points highlighted here. Even PowerShell does. However, the caveats pointed at the end of this video also apply in these use cases too.

  • @Voshchronos
    @Voshchronos 2 месяца назад

    holy shit, this is downright revolutionary. really clever implementation

  • @LastCrossroads
    @LastCrossroads 3 месяца назад

    Thank you for this. It is going to change my life.

  • @luananeder
    @luananeder 2 месяца назад

    Zsh has some really cool tab completion stuff on its own, but woah this is even cooler!
    (also I almost froze from trauma when you mentioned fuzzy finder, the thing I hated the most about fish)

  • @dalanxd
    @dalanxd 3 месяца назад

    I didn't know I needed this..... Thanks, man!!!

  • @ezequielghienaramos4777
    @ezequielghienaramos4777 Месяц назад

    I will definitely try this out, amazing video

  • @ThijmenCodes
    @ThijmenCodes 2 месяца назад

    Thanks a lot. This has been very useful, despite my initial thoughts being "Meh, I'll see about that. Probably not necessary". Installed both on my laptop and on my home server, so useful!

  • @HoneyBadgerLikesYou
    @HoneyBadgerLikesYou 3 месяца назад

    100% giving this a go at work tomorrow. Looks cool as heck

  • @Siniom_swe
    @Siniom_swe 2 месяца назад +1

    Your video is really good looking! I want the entire esthetics of your computer and terminal and I also want to know how all of this is recorded with so fancy and good looking clarification animations 😍 But I guess that is a lot of time spent in video editing? Good job anyways. I've now installed zoxide with all the configurations you made! 😁 Here, have a subscribe!

  • @jmilen
    @jmilen 2 месяца назад

    Great video, thanks! You were right about the muscle memory - I thought I'd go without aliasing the 'cd' command and I just couldn't. I kept typing cd. After adding the '--cmd cd' to the 'init' command all my problems were gone :)

  • @ronanb3
    @ronanb3 2 месяца назад

    This video is the best I have seen. Unitl now I didn't want to try it. Now I will today, right now !

  • @catastrophicblues13
    @catastrophicblues13 3 месяца назад

    Interesting. I feel like it might trip me up, especially if I want to go to an intermediate directory not in its database. Great video, though, keep it up! I love learning about new tools (like your Stow video) with non-clickbait titles and to-the-point content!

  • @lucasgasparino6141
    @lucasgasparino6141 2 месяца назад

    Thanks, this is fantastic! 🎉

  • @loganrowe1727
    @loganrowe1727 2 месяца назад

    Subscribed. More videos like this please, keep up the good work

  • @TaylorTEK
    @TaylorTEK 2 месяца назад

    This is amazing, thank you!

  • @lewisse_8966
    @lewisse_8966 3 месяца назад

    That's very nice! As they describe it, they're just a better cd and autojump and combined to one package which just makes it convenient with having one command instead of two. I'll stick to cd and autojump because I'm too lazy to configure it and use it tho lol. Still a great find!

  • @MalakaiPrograms
    @MalakaiPrograms 3 месяца назад +2

    Randomly got this recommended, great video. :)

  • @gutohertzog
    @gutohertzog 3 месяца назад +3

    I need desperately your wallpaper. It's gorgeous.
    Awesome video.

    • @dreamsofautonomy
      @dreamsofautonomy  3 месяца назад +3

      Thanks! I get all my wallpapers from freepik. This one is:
      Gradient landscape with torii gate in the water

    • @gutohertzog
      @gutohertzog 3 месяца назад

      @@dreamsofautonomy thanks! Already found it.

  • @iWillAvert
    @iWillAvert 3 месяца назад +3

    Arch and zsh, I see you are a man of culture! 😎
    This actually would be hella nice for me especially since I basically live in my terminal now. I have several well nested directories so this would honestly save a ton of time.
    Also, your fix for getting confused between z and cd is exactly what I did for the ls command as I use 'eza' over the original ls.

    • @dreamsofautonomy
      @dreamsofautonomy  3 месяца назад +4

      Another terminal citizen! I welcome you.

    • @iWillAvert
      @iWillAvert 3 месяца назад +3

      @@dreamsofautonomy Update: tried it out. Game changing is an understatement.. Literally took all but 2 "cd's" in order for it to be able to jump straight from home into the base of a triple nested directory. It's actually insane! I appreciate the introduction!

    • @hedonist2104
      @hedonist2104 2 месяца назад

      what wm & status bars do you use?

    • @iWillAvert
      @iWillAvert 2 месяца назад +1

      @@hedonist2104 i3 and Polybar, however on my desktop I tend to just stay on KDE/Plasma since I already had it setup and looking good. Plus Kwin has maps for quick tiling that are not as good as a standalone wm, but it's good enough lol.

  • @aadams99
    @aadams99 Месяц назад

    going to try zoxide, thanks for sharing

  • @zirkoni42
    @zirkoni42 3 месяца назад +20

    I use just fzf and command history. To change directories I usually have to type 1-3 characters of the directory name.

    • @Flako-dd
      @Flako-dd 2 месяца назад +5

      Same, i even built a short script 'cdr' which also lists the most used dirs.

    • @CarlosVixil
      @CarlosVixil 2 месяца назад

      Yeah, fzf covers this while being a lot more utile

  • @sachindraragul1094
    @sachindraragul1094 3 месяца назад

    Interesting. I would give it a try. Thanks for sharing!

  • @CaseyConnor
    @CaseyConnor 3 месяца назад +2

    How does zoxide work in terms of tab completion? If I have to actually type "z mydirectory otherdirectory" that might be a deal-breaker for me: it would be much faster to do traditional "cd /somedirectory/mydirectory/src/otherdirectory" if the actual keystrokes are for example "c d / s o m y o t ".

    • @1vader
      @1vader 3 месяца назад +1

      There's no tab completion if you're not specifying an actual path. Probably would be hard to make it useful given that a word could be any part of any path segment. But you don't need to type out full path segments so you don't really need completion. You can just type out any specific enough part. In essence, it's as if you did tab completion after every word but without actually having to do the completion. The only time where this doesn't work as well is if you have a lot of ambiguities with common prefixes and want partial completions.
      Personally, I still use regular cd when I'm navigating through the file system and don't yet exactly know where I'm going because zsh's completion list and fuzzy partial auto-complete are amazing and I wasn't able to get the latter to work with zoxide. But I use zoxide to jump to known places, especially all the different code repositories. They generally have unique enough names that I just need a few letters to specify the exact target so it's definitely much faster than doing a bunch of tab completions. And you can configure it so that regular cd still adds paths to the zoxide database.

    • @CaseyConnor
      @CaseyConnor 3 месяца назад

      @@1vader You've convinced me to give it a try. Thanks for the response. :-)

  • @psadi_
    @psadi_ 3 месяца назад +4

    I use Rupa/z project which is similar to zoxide.
    I prefer that because it’s a shell script I can bake it into my dotfiles repo and not having the need of installing another executable.
    But the interactive mode is amazing +1

  • @pooyanisalmani2844
    @pooyanisalmani2844 19 дней назад

    wish i could like this video more than one time! thanks man

  • @pra.
    @pra. 2 месяца назад

    As a student with a lot of folders to navigate between for different projects, zoxide is a life saver. I can’t recommend it enough!

  • @psiga
    @psiga 2 месяца назад

    Totally compelling and convincing review. I think your idea of merging cd to behave like the new z command should probably be integrated into their app as an option. This feels like a very natural and necessary evolution.

  • @maxcurzi
    @maxcurzi 2 месяца назад

    this is pretty cool! I installed it while watching this video and I can hardly go back to cd now!

  • @raduking
    @raduking 2 месяца назад

    Was already using it but the --cmd is great now I'm back to cd but with full zioxide power, thanks.

  • @a1mer06
    @a1mer06 3 месяца назад

    Goated Video as always

  • @Hossimo
    @Hossimo 3 месяца назад

    I love that apparently z -ls works as you might suspect. I'm going to give this a try.

  • @whitefluffycloud
    @whitefluffycloud 3 месяца назад

    Never heard of this, but will install and start training it immediately. I can see how this would speed up a lot of my terminal navigation. Thank you! Great video!

  • @oglothenerd
    @oglothenerd 3 месяца назад +3

    You and me are both rocking a System76 keyboard!

  • @science5272
    @science5272 2 месяца назад +2

    The quality of this video is just amazing. If this guy keeps adding new videos like this every day or week I bet this is gonna be the next fireship! Just amazing, subscribed and looking for more good stuff!

    • @FakeDumbDummy
      @FakeDumbDummy Месяц назад

      He have another channel as well
      Dreams of code

  • @lunchb0ne
    @lunchb0ne 3 месяца назад +1

    I agree, love using z before zoxide existed and it completely changed my workflows.

  • @giladgd
    @giladgd 2 месяца назад +10

    This feature is built-in into cd in oh-my-zsh for years

    • @giladgd
      @giladgd 2 месяца назад +3

      And you can install fzf and enable its plugin in your .zshrc to have the fzf feature

    • @AhmetKaralar
      @AhmetKaralar 2 месяца назад +2

      true and I had been using that but it gets slow with time because it’s mostly shell scripts, zoxide is faster with rust

  • @azadpoursadegh9761
    @azadpoursadegh9761 3 месяца назад

    I loved and Installed it already Thanks

  • @MarkButterworth13
    @MarkButterworth13 3 месяца назад

    Will definitely try it

  • @rafaelbordoni516
    @rafaelbordoni516 28 дней назад

    I was already an autojump user, I'm totally giving this one a try.

  • @thegeogian
    @thegeogian 3 месяца назад +4

    Only 3 videos? With this level of quality, I was expecting tons more!

  • @KyraKrassenburg
    @KyraKrassenburg 3 месяца назад

    i absolutely love zoxide

  • @maurolimaok
    @maurolimaok 3 месяца назад +4

    Would you make a video about your terminal configs?
    it seems very interesting.
    I'm a complete newbie trying to find my way on it.

  • @jesperhallborg7720
    @jesperhallborg7720 2 месяца назад

    Thanks for showing this

  • @arvindhn036
    @arvindhn036 2 месяца назад

    This new channel is lit 🔥

  • @YannMetalhead
    @YannMetalhead 17 дней назад

    Good tool. I achieved something similar with aliases and scripts, and since I can customize them as I see fit, it's actually more efficient than zioxide; I move through the terminal in light speed.

  • @muslimgamerrr9479
    @muslimgamerrr9479 7 дней назад

    looks intresting, gonan try later

  • @mk72v2oq
    @mk72v2oq 3 месяца назад +9

    Wait, cd in zsh? In zsh you don't even need cd because you can simply type paths.
    Zsh also has the dirstack feature built-in, which remembers frequently used paths, similar to zoxide.

    • @0LoneTech
      @0LoneTech 3 месяца назад

      "shopt -s autocd" in bash. Today I learned about ˜N for entries in dirstack, which I suppose may be handy. Most of the time I use screen.

    • @snowe..
      @snowe.. 3 месяца назад +4

      you also don't even need to type the full path in zsh. /c/a/b/d will jump to the first match for those characters all the way down. same with fishshell though.

  • @thelazt16
    @thelazt16 3 дня назад

    I've been using "z" for a long time but now I just found out I can just "z" to a folder I haven't been there yet?
    Thank you, will definitely add this to my config.

  • @yagoa
    @yagoa 3 месяца назад

    Great video!
    z4h gave me all this automatically but I had some issues where I would go to the wrong directory and that would increase the score and editing didn't feel worth it.

  • @gunstorm05
    @gunstorm05 2 месяца назад

    Color me convinced, I'm gonna give it a try

  • @zvrk
    @zvrk 3 месяца назад +3

    I am using regular z with zsh and it really is a game changer

  • @mrallelectriccarlunacy
    @mrallelectriccarlunacy 2 месяца назад

    Would love this for history overall. So many code commands of certain folders or files

  • @ThomPorter74
    @ThomPorter74 3 месяца назад +2

    Absolutely brilliant. Installed on my dev server and while I usually don't install anything I don't absolutely need on my production servers, I'm sure I'll end up installing it on all of them. Way too handy!!!

    • @Time4Technology
      @Time4Technology 3 месяца назад +2

      Sounds like you spend a lot of time in a shell on servers which should run without much intervention after having tested in your dev environment.

    • @ThomPorter74
      @ThomPorter74 3 месяца назад +2

      @@Time4Technology I tend to not install anything I don't need on my production servers for security reasons. For instance I don't use Oh My ZSH on my production servers as I don't really need it.
      But this is next level helpful! I suppose I could make a case for just setting up aliases since where I go on my production servers is very regular...

    • @Time4Technology
      @Time4Technology 3 месяца назад +3

      @@ThomPorter74My point is, why do you need to go to so many places on your production servers so often, that a tool like this outweighs your otherwise strong position for a minimal setup? Wouldn't ideally all the manual work happen exclusively in your development environment?

    • @ThomPorter74
      @ThomPorter74 3 месяца назад

      @@Time4Technology yup, i misinterpreted your initial reply. 😉

  • @dcascato
    @dcascato 3 месяца назад +1

    mate I just love your suggestions, and pretty much adopt them straight away. Please look at some terminal file managers next time.