Skip to content

sfj2/lsemoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lsemoji

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

Usage

> lsemoji [path ...]

Use the --help option for an explanation of all options/arguments.

Install

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"

Python module

lsemoji is also built to be a reusable Python module:

> python 
...
>>> import lsemoji as ls
>>> print ls.emoji('/')
💻 

About

Human-friendly directory listings in your terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published