Shameless plug: I am the author.

  • palordrolap@kbin.run
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    4 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
      ·
      4 months ago

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