• LalSalaamComrade@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      edit-2
      8 hours ago

      It’s six letters. Can’t they just call it zd or something? Yeah sure, I can use aliases, but why complicate in the first place?

        • LalSalaamComrade@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          6 hours ago

          This is most probably a distro-specific aliasing. Tried it on Guix, it does not work:

          $ z
          bash: z: command not found
          
          $ zoxide
          zoxide 0.9.2
          ....
          
          • unknowing8343
            link
            fedilink
            arrow-up
            2
            ·
            6 hours ago

            It’s in the official docs for zoxide, you are supposed to use the z alias, and many distros just set it up directly like that. I love doing z notes from wherever I am.

            • 7dev7random7@suppo.fi
              link
              fedilink
              arrow-up
              1
              ·
              5 minutes ago

              Description fifth point (5.)

              That doesn’t require a separate package, especially one which uses eval on every new shell. And isn’t messing with my distros or personal aliases (and doesn’t introduce cargo-packaging).

              Simply adding one to two (you get the gist) directories and a keybind for cd .. is more slick. There are cases where you might use pushd . but even then other tooling should already cover your needs.

              It’s also so easy that you can temporarly append to $CDPATH for a specific session. But again, then a second pane or pushd is already available.

              Now downvote me, lemmy.