Shameless plug: I am the author.

  • dohpaz42@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    5 months ago

    Here is a more concise way to achieve the same thing:

    ls -ACd ~/.??*/ | sed -e "s#$HOME/##g"
    
    • palordrolap@kbin.run
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      5 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.

    • Samueru@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago

      ls -A | grep "^\."

      I had to make a dummy .dotfile to test because I don’t have hidden files in my home.