Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryanoasis/devicons-shell

:symbols: adds font icons (glyphs ★♨☢) to filetypes via bash (faux ls with icons)
https://github.com/ryanoasis/devicons-shell

devicons filetype ls nerd-fonts shell terminal

Last synced: 18 days ago
JSON representation

:symbols: adds font icons (glyphs ★♨☢) to filetypes via bash (faux ls with icons)

Awesome Lists containing this project

README

        

# Devicons Shell

> Show filetype glyphs (icons) in your terminal

An experimental work in progress, Pull requests are welcomed.

### Examples

> Using `devicons-ls`

![Equivalent using devicons 1](images/preview-devicons-1.png)

> Using `ls`

![Using ls 1](images/preview-ls-1.png)

> Using `devicons-ls`

![Equivalent using devicons 2](images/preview-devicons-2.png)

> Using `ls`

![Using ls 2](images/preview-ls-2.png)

### Requirements

A patched font from [Nerd Fonts](https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts)

### Install

* Run the script or copy it to `~/bin` to run from anywhere
* Not recommended but you _could_ replace `ls` with this if you wanted (reference [vim-devicons #150](https://github.com/ryanoasis/vim-devicons/issues/150))
* Copy the script to `~/bin` and rename to 'ls'

### Other Implementations

* [better-ls](https://github.com/illinoisjackson/better-ls)
* [even-better-ls](https://github.com/illinoisjackson/even-better-ls)

### Resources

* [Stack Exchange: Why Not Parse `ls`](http://unix.stackexchange.com/questions/128985/why-not-parse-ls)

### License

[MIT](LICENSE) © Ryan L McIntyre