Skip to content

dudoslav/litify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ‘ŒLITify๐Ÿ‘Œ

What is LITify?

๐Ÿ‘‰ Masterpiece

๐Ÿ‘‰ Script that makes you cool

๐Ÿ‘‰ Script that changes substrings for emojis

How to install?

Depends on your distro.

Archlinux

yaourt -S litify-git

Other distros

Detailed guide

How to use?

For example:

$ echo 'dudoslav@zebra:/home/dudoslav ->' | litify
๐Ÿ˜‚@๐Ÿฆ“:/๐Ÿ /๐Ÿ˜‚ ๐Ÿ‘‰

Using in PS1

If your bashrc is setup like this:

export PS1="\[\033[38;5;11m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\h:\[$(tput sgr0)\]\[\033[38;5;6m\][\w]:\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]"

Modify it as follows to use it with litify:

export PS1='$(echo "\[\033[38;5;11m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\h:\[$(tput sgr0)\]\[\033[38;5;6m\][\w]:\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]" | litify)'

Please note using apostrophes instead of double quotes is important!

Btw, I use Arch.

Releases

No releases published

Packages

 
 
 

Contributors

Languages