Skip to content

Instantly share code, notes, and snippets.

@D-system
Created June 20, 2013 09:26
Show Gist options
  • Save D-system/5821441 to your computer and use it in GitHub Desktop.
Save D-system/5821441 to your computer and use it in GitHub Desktop.
ls tree view
alias tree="ls -R | grep ':$' | sed -e 's/:$//' -e 's/[^\/]*\//| /g' -e 's/| \([^|]\)/\`--\1/g'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment