Shameless plug: I am the author.
You must log in or register to comment.
Here is a more concise way to achieve the same thing:
ls -ACd ~/.??*/ | sed -e "s#$HOME/##g"
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.if you need to preserve
cd -
you might be able to do this withpushd
andpopd
ls -A | grep "^\."
I had to make a dummy
.dotfile
to test because I don’t have hidden files in my home.