Skip to content

Instantly share code, notes, and snippets.

@jaqque
Created July 29, 2013 20:47
Show Gist options
  • Save jaqque/6107674 to your computer and use it in GitHub Desktop.
Save jaqque/6107674 to your computer and use it in GitHub Desktop.
quick ls
qls() { perl -E'for(@ARGV){-d||next;say"$_:";opendir$d,$_;say+join"\n",sort(readdir$d)}' "${@:-.}"; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment