• over_clox@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      14 days ago

      Interesting, I might have to check that out someday.

      Though when I write scripts, I’m not a fan of blind folder navigation like that, there’s a good reason for the pushd and popd script commands.

      • Ephera@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        14 days ago

        Oh yeah, I wouldn’t use that for scripts. I wouldn’t use zsh for scripts either.
        I mean, I believe, it’s generally compatible with bash, but just throwing a shebang like #!/bin/sh or #!/bin/bash into the first line of the script will make it execute with sh or bash, even when you run it from zsh.