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

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

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

  • @psy667
    @psy667 10 месяцев назад +120

    Thank you!

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

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

    • @qvipin
      @qvipin 5 месяцев назад +12

      for anyone wondering 100 thb is 2.75 usd

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

      @@qvipin lol i tought it was $100 USD 🤣

  • @killermonkey1392
    @killermonkey1392 10 месяцев назад +928

    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  10 месяцев назад +51

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

    • @JefCollier
      @JefCollier 10 месяцев назад +9

      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 10 месяцев назад

      absolutely the same thing here!

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

      I ❤

    • @TSM-sr3yy
      @TSM-sr3yy 6 месяцев назад

      Sameere

  • @Sollace
    @Sollace 10 месяцев назад +2555

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

    • @lobotomy-victim
      @lobotomy-victim 10 месяцев назад +438

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

    • @abdussomodadigun1760
      @abdussomodadigun1760 10 месяцев назад +90

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

    • @ArcamNight
      @ArcamNight 10 месяцев назад +338

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

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

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

    • @sharpfang
      @sharpfang 10 месяцев назад +280

      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'.

  • @cleancapsco
    @cleancapsco 10 месяцев назад +58

    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 9 месяцев назад +2

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

  • @FinlayDaG33k
    @FinlayDaG33k 10 месяцев назад +371

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

  • @p2k7777
    @p2k7777 10 месяцев назад +348

    TIL about cd -

    • @JamesTM
      @JamesTM 10 месяцев назад +6

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

    • @_RafaelKr
      @_RafaelKr 9 месяцев назад +12

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

    • @kumarraj197
      @kumarraj197 8 месяцев назад +4

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

    • @_RafaelKr
      @_RafaelKr 8 месяцев назад +2

      @@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 8 месяцев назад

      And today you will learn about CDPATH

  • @bweis96
    @bweis96 10 месяцев назад +310

    Zoxide is amazing. Never changing back.

    • @Rastafa469
      @Rastafa469 10 месяцев назад +33

      You mean you'll never cd -

    • @chotabomjvonychi3485
      @chotabomjvonychi3485 10 месяцев назад +3

      fzf?

    • @ghosthunter0950
      @ghosthunter0950 8 месяцев назад

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

    • @amackzie
      @amackzie 24 дня назад

      been using z on oh my zish for like 5 yrs. there are many other cool plugins zsh auto suggestions, fzf, fd, bat ?

  • @AnalyticMinded
    @AnalyticMinded 10 месяцев назад +126

    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  10 месяцев назад +4

      Both of us were convinced!

    • @johnpulawski35
      @johnpulawski35 8 месяцев назад +1

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

    • @AnalyticMinded
      @AnalyticMinded 8 месяцев назад

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

    • @ahmetcallisto5246
      @ahmetcallisto5246 6 месяцев назад

      ​@@johnpulawski35it actually does

  • @0xchilli
    @0xchilli 10 месяцев назад +417

    finally a reason to type the letter z

    • @w.e.b_b
      @w.e.b_b 10 месяцев назад +6

      Best comment. Hands down

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

      a second one

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

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

    • @s1nistr433
      @s1nistr433 10 месяцев назад +4

      alias z="zsh"

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

      @@s1nistr433why would you create an alias for that

  • @JohnDlugosz
    @JohnDlugosz 10 месяцев назад +36

    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 10 месяцев назад +3

      I relied on 4OS2 back in the day

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

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

    • @jammin023
      @jammin023 10 месяцев назад +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 ..\..\..)

  • @petermousses
    @petermousses 9 месяцев назад +5

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

  • @ultradude5410
    @ultradude5410 10 месяцев назад +114

    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 10 месяцев назад +9

      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 10 месяцев назад +7

      bash also offers CDPATH

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

      Is there a eMacs integration?

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

      @@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)

  • @niaei
    @niaei 10 месяцев назад +55

    Zoxide is good. But once you started to use tab for autocomplete cd is not as bad as shown...

    • @zer0dragon
      @zer0dragon 6 месяцев назад +14

      me after cd into a huge directory
      zsh: do yo wish to see al 1079 possibilities (540 lines)?

    • @HobbitJack1
      @HobbitJack1 6 месяцев назад

      I'm considering switching to zoxide just because I have a lot of things in filestructures that are just buried enough and with other folders in the directories that are just similar enough that I need to go to 3 or 4 chars to get a unique completion.

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

      specially when you are already using fzf, for me Zoxide is just overkill and unnecessary clutter.

    • @simdimdim
      @simdimdim 11 дней назад

      @@zer0dragon Abandon all hope ye who enters here. :D

  • @adiswa123
    @adiswa123 10 месяцев назад +42

    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 10 месяцев назад +2

      He has another channel called Dreams of Code.

  • @NoLoseJustLearn
    @NoLoseJustLearn 10 месяцев назад +11

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

  • @Jairoglyphx
    @Jairoglyphx 10 месяцев назад +4

    Sounds like Autojump with extra steps

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

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

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

    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 10 месяцев назад +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 10 месяцев назад

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

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

      having fzf + tab completion is enough

  • @greyfade
    @greyfade 10 месяцев назад +63

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

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

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

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

      ​@@techtudei think he meant " ust idding"

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

    This is nice.
    But I like right-clicking in Windows Explorer and using the "Open with PowerShell" option.
    I even have a little "Favourites" list and a list of frequently visited folders. Clicking is nice.

  • @nullptr.
    @nullptr. 10 месяцев назад +9

    I have tried autojump before, but it's not being maintained. Thanks for showcasing this.

  • @pubdigitalix
    @pubdigitalix 10 месяцев назад +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.

  • @mk72v2oq
    @mk72v2oq 10 месяцев назад +11

    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 10 месяцев назад +1

      "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.. 10 месяцев назад +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.

  • @brunesi
    @brunesi 10 месяцев назад +4

    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.

  • @ChosunOne
    @ChosunOne 10 месяцев назад +15

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

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

      100% the same!!

    • @EXQEX9
      @EXQEX9 10 месяцев назад +1

      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.

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

    Your videos improved my Linux experience massively. Thank you.

  • @jacobdegeling
    @jacobdegeling 8 месяцев назад +1

    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

  • @luananeder
    @luananeder 10 месяцев назад +1

    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)

  • @ivankudinov4153
    @ivankudinov4153 6 месяцев назад

    I knew all of this because I'm a FOSS nerd yet I still watched the whole thing, because of the quality of work you've done. Not a single wasted second and precisely helpful information without any bs. I've subbed now ofc

  • @iki_kaf
    @iki_kaf 9 месяцев назад

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

  • @stefankamphausen6524
    @stefankamphausen6524 10 месяцев назад +6

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

    • @jonathanjohnston9272
      @jonathanjohnston9272 6 месяцев назад

      Thanks for cdargs. I use it a lot. Bookmarks that I choose are easier for me than trying to "train" zoxide. BTW, I wrote a "mark" script to make it easy to add the CWD to ~/.cdargs

    • @jonathanjohnston9272
      @jonathanjohnston9272 6 месяцев назад +1

      Thanks for cdargs. Very useful

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

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

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

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

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

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

    • @AhmetKaralar
      @AhmetKaralar 10 месяцев назад +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

  • @andresgoens
    @andresgoens 10 месяцев назад +7

    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)

  • @aspected
    @aspected 7 месяцев назад

    This could be crazy useful. I manage a few similar servers and have to keep navigating between a few different directories on them by entering the full paths each time. This could be a huge timesaver.

  • @ZacMagee
    @ZacMagee 10 месяцев назад +6

    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!

  • @go0ot
    @go0ot 8 месяцев назад +1

    Please do a similar detailed tutorial on ripgrep, it will be a big hit 🎯💯

  • @zirkoni42
    @zirkoni42 10 месяцев назад +27

    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 10 месяцев назад +5

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

    • @CarlosVixil
      @CarlosVixil 10 месяцев назад +1

      Yeah, fzf covers this while being a lot more utile

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

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

  • @zhaadd
    @zhaadd 4 месяца назад

    the searching algo is impressive

  • @Taaz2
    @Taaz2 10 месяцев назад +1

    Afaik oh-my-zsh has a plugin that also makes so that you don't have to use z itself to build the frequent paths database, just use cd for paths and z for jumps

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

    For me, almost 30 years ago, I created a small batch file on windows to do pretty much the same thing. It didn't have all the smarter, but 20 directories was 90% where I needed to go.

  • @ben_sch
    @ben_sch 9 месяцев назад

    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!

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

    Randomly got this recommended, great video. :)

  • @ViperLarry-v7p
    @ViperLarry-v7p 10 месяцев назад +2

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

  • @Siik94Skillz
    @Siik94Skillz 10 месяцев назад +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

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

    Do any of you have experience with both Zoxide and just plain "cd" in fish, and if so, how would you compare the two?
    The fact that fish automatically suggests recent and most used completions (and does so based on current directory) leads me to think that there might not be anything gained for me, in switching to zoxide.

  • @RockTheCage55
    @RockTheCage55 24 дня назад

    Using it already but you helped me understand it better 'fzf' & i was aliasing 'cd'. thanks a bunch.

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

    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❤

  • @3luizcunha
    @3luizcunha 10 месяцев назад +1

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

  • @BarraIhsan
    @BarraIhsan 7 месяцев назад

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

  • @clayratliff7727
    @clayratliff7727 10 месяцев назад

    I did want to point out that similar results can be obtained natively in zsh by configuring the zstyle competions to your liking. For instance, my zsh configuration will tab complete the "cd ~//Documents" with the expansion "~/Library/Mobile\ Documents/" on my mac, and by defining additional regexes you can create much more robust completions, but the solution here seems far simpler to achieve out of the box and won't require me to experiment with regex.

  • @bool2639
    @bool2639 10 месяцев назад +8

    For those of you wanting functionality similar to Zoxide without having to install it:
    You can add the **CDPATH** environment variable to your bashrc or zshrc. You would add
    to it as you would any other PATH variable in the shell. It allows you to `cd` to any directory
    in it's path regardless of where you are in the file system.

  • @gh0st777
    @gh0st777 9 месяцев назад

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

  • @harry-smith404
    @harry-smith404 3 месяца назад

    09:06 yeah, that it the good way to config any tool, I like that "tool-configures-shell" approach.
    But your habit to use CD command as navigation in a guessing way will remain, and you still will have problems at switching working environments

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

    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 :)

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

    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

  • @eclypze_
    @eclypze_ 10 месяцев назад +24

    I need this guy color theme and .conf for my terminal, so pretty

    • @ribz4951
      @ribz4951 10 месяцев назад +23

      catppuccin theme

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

      he also uses starship and tmux (with catppuccin theme ofc)

    • @vaidehikumar655
      @vaidehikumar655 10 месяцев назад

      It's catppucin

  • @oglothenerd
    @oglothenerd 10 месяцев назад +5

    You and me are both rocking a System76 keyboard!

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

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

  • @thelazt16
    @thelazt16 7 месяцев назад

    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.

  • @sean.maloney
    @sean.maloney 10 месяцев назад +4

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

  • @maurolimaok
    @maurolimaok 10 месяцев назад +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.

  • @KeithGyarmati
    @KeithGyarmati 10 месяцев назад +1

    The issue i would have is that example `z dreams tools` throwing an error. It would be nice to have suggested paths or drop into the tools dir though it wasn't the last dir.

  • @therealslimaddy
    @therealslimaddy 10 месяцев назад +5

    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

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

    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!

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

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

  • @daniel156161
    @daniel156161 8 месяцев назад

    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

  • @Chalisque
    @Chalisque 10 месяцев назад +1

    Something I wrote for the original cd, and I'll probably combine it with this, is to store a recent list of cd and pwd. One thing z lacks (or so it seems) is to display a list of the last 20, say, directories I was in during a shell session. (This is relatively easy to do with a bash function with a couple of array variables.)

    • @agamjotsb
      @agamjotsb 10 месяцев назад

      Could you please share it, I'd love to see it and try it out myself. Thanks

  • @Chef_PC
    @Chef_PC 10 месяцев назад

    On every unix terminal I've used since 1991, I've always setup w and v as aliases for "ls - FaC" and "cd .." respectively. It has become so natural in that time. Changing now would be just weird.

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

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

  • @SporkFish42
    @SporkFish42 10 месяцев назад

    I use pushd/popd/dirs instead of cd. It creates a stack of directories that can be manipulated instead of jumping to the next directory and having to remember/type paths. It comes standard in bash (don't know about other shells).

  • @OhhCrapGuy
    @OhhCrapGuy 6 месяцев назад

    I tried this for a while, but sure to project structure and having SEVERAL git worktrees of the same project, this ended up causing me several issues.
    Note: this is only because even the more esoteric names in my directories are duplicated at least a few times because of my workflow. Zoxide is a great option if that's not something you'd have to contend with.

  • @tagKnife
    @tagKnife 6 месяцев назад

    As of nushell 0.89.0 they added the ability for programs to override builtin command. So you can alias cd to z on nushell now.

  • @NickBair316
    @NickBair316 8 месяцев назад

    I've had the z plugin for zsh installed and I always forget to use it. Zoxide looks really nice though so I removed the z plugin that I hardly use and setup zoxide! Looking forward to using it.

  • @sayo9394
    @sayo9394 6 месяцев назад

    such a great video! with a cooler intro command!!
    history|awk '{print $2}' | sort | uniq -c | sort -nr | head -10
    100 make
    90 cd
    66 sudo
    57 git
    56 ls
    53 clear
    47 vim
    45 source

  • @see-sharp
    @see-sharp 8 месяцев назад

    Just imagine how powerful my bro will be when he discovers terminal file managers with custom bindings...

  • @math-passion
    @math-passion 10 месяцев назад

    Thanks for the well-served content! Just, you missed reverse-i-search (ctrl+r). No longish typing or alias required to repeatedly navigate to deeply nested paths.

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

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

  • @AllanSavolainen
    @AllanSavolainen 10 месяцев назад

    This sounds quite like what I used to use during DOS era. Can't remember if it was part of 4DOS or separate app, but I could just do 'ccd foo' and it would find said folder. Don't recall how the algorithm worked, just that it was really handy app.

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

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

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

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

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

      @@dreamsofautonomy thanks! Already found it.

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

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

  • @jakobfrei1121
    @jakobfrei1121 5 месяцев назад +1

    `--cmd cd` works for nushell by now btw.

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

      Excellent!

    • @shaunreich
      @shaunreich 5 месяцев назад

      How do you like nushell vs bash zsh and fish? Looks pretty interesting, though I guess the problem I have with many shells is when you try to do something and an app or whatever fails because the shell is incompatible

  • @ForcefighterX2
    @ForcefighterX2 9 месяцев назад

    And while this tool is awesome even for fish shell users, as a fish shell user you will have such insane conveniences, that paths never are an issue by themselves. The second you start typing the first letter of a very long command or path, fish will show you a slightly transparent suggestion of the best history match, of this path or command, which you can insert by pressing RIGHT or CTRL+F. It has much much more - but because of that you don't really feel long paths. Oh and it also is not case sensitive, so you can just hit tab to fix the case.
    Therefore, Fish shell + zoxide makes me even more lazy. I really like that.

  • @dimas-
    @dimas- 9 месяцев назад

    Please make a video on your terminal setup. Font, scheme, etc

  • @Siniom_swe
    @Siniom_swe 10 месяцев назад +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!

  • @cagataykaydr3015
    @cagataykaydr3015 9 месяцев назад +1

    This is cool, bu I admit I'll still be using ThePrimeagen's way. A special shell script for using fzf to navigate in folders that you choose. Just write the name, and your terminal jumps to the folder. I edited this script so now I can use it with fish shell, so I think I have one of the greatest experiences on jumping project to project!

  • @matt92hun
    @matt92hun 9 месяцев назад

    You can btw apply your .zshrc changes with the command `. ~/.zshrc` if you don't want to open a new terminal window every time.

  • @veritas7010
    @veritas7010 10 месяцев назад

    Honestly I had a script like this decades ago and now I just use auto jump using pure cd on your workstation is crazy fo sure

  • @rafaelbordoni516
    @rafaelbordoni516 8 месяцев назад

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

  • @UliTroyo
    @UliTroyo 5 месяцев назад

    Thanks, definitely will check z out! I do find myself aliasing a lot, so this might help.

  • @hellNo116
    @hellNo116 8 месяцев назад

    Ok I like this for so many different reasons. The algorithm is simple and basically a priority queue no unnecessary AI bs. It seems that you can replace cd without breaking its eternal behaviour just add upon it
    I only wonder if it maintains features that are added to cd by zsh. If yes the transition would be a cake

  • @adamlives
    @adamlives 10 месяцев назад

    It is nice that Ctrl+r with fzf works like Bash and Zsh

  • @Skeeve-Magick
    @Skeeve-Magick 10 месяцев назад

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

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

    The production is amazing , underrated

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

    Come back to this video because I didn't replace my cd alias... and totally forgot what the tool was! My muscle memory kicked in hard and z fell out of my head. Now... let's try that again...

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

    For years, I've been using a lightly patched version of "autojump", which is the exact same concept as zoxide... but it uses 'j' instead of 'z', and the weighting and calculations use gradual adjustments instead of hard thresholds. At first it was great, but after a while I've mostly stopped using it. It's rarely any faster than tab completion, autosuggest, or ^R history search... and it requires more effort to remember which dirs it's likely to jump to and what their abbreviations are, and it gives less feedback about where it's going to jump. Zsh autosuggest, in particular, has made a lot of autojump's functionality redundant.

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

    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  10 месяцев назад

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

  • @Zeioth
    @Zeioth 8 месяцев назад

    This is really cool but it's something you can also do by passing fd to fzf like:
    ```
    fd --type f --hidden --exclude .git --exclude node_modules --exclude .cache --exclude .npm --exclude .mozilla --exclude .meteor --exclude .nv --exclude .thunderbird --exclude .cargo --exclude .gradle --exclude .eclipse --exclude .java --exclude .android --exclude .m2 --exclude Franz --exclude .nuget --exclude .Trash | fzf
    ```
    You can also run it without the excludes for simplicity, but that would perform slower, obviously.

  • @yookoala
    @yookoala 4 месяца назад

    fish with autosuggestion to cd is already very powerful. But will give this a try.