Human-friendly directory listings in your terminal. Example usage:
~/Documents/git/lsemoji/files> lsemoji .
๐ dir
๐ empty
๐ฆ App.app
๐ apple.scpt
๐ฆ apple.scptd
๐ฆ archive.zip
๐ต audio.m4a
๐ต audio.wav
๐
calendar.ics
๐ฌ chat.ichat
๐ค contact.vcf
๐ document.pdf
๐ซ email.eml
๐ icon.ico
๐ image.png
๐ image.svg
๐ image.tif
๐ javascript.js
๐ link.webloc
๐ map.gpx
๐ markdown.md
๐ฐ news.rss
๐ page.htm
๐ page.html
๐ page.webarchive
๐จ styles.css
๐จ styles.scss
๐ text.txt
๐ฌ video.mpeg
๐ word.doc
๐ word.docx
> lsemoji [path ...]
Use the --help
option for an explanation of all options/arguments.
curl -fsSl https://raw.github.com/davidfmiller/lsemoji/master/install.sh | sh
export PATH="$PATH:~/bin"
You might want to create an alias for it, too. For bash do the following in your .profile:
function __emoji () { python ~/bin/lsemoji "$@"; }
alias l="__emoji"
lsemoji
is also built to be a reusable Python module:
> python
...
>>> import lsemoji as ls
>>> print ls.emoji('/')
๐ป