Shameless plug: I am the author.

  • palordrolap@kbin.run
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    2 months ago

    I think that can be boiled down to only cd; echo .*/

    Maybe throw a ;cd - on the end if the change of directory is unwanted.

    • ComicSads
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      if you need to preserve cd - you might be able to do this with pushd and popd