Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smile_me_please

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smile_me_please

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Smile Me Please

Return random MAC Specific? UTF-8 smiles. Useful to add to your prompt, and be able to recognize different terminals easily.

Cool icons

Usage

You can call the command directly and will output a smily. If you pass the -n it will not write the new line character.

$ smile_me_please
:-)
$


$ smile_me_please -n
:-) $

NOTE: I don't know how to put utf-8 characters in README.md or if github is removing them.

Use cases

Make every terminal different and easy to recognice by putting random faces on each on the prompt:

In your .bash_profile, .profile, or whatever you prefer say

export PS1=`smile_me_please -n`$PS1

Or a more complete example that uses PROMPT_COMMAND

export SMILE=`smile_me_please -n`¬
add_smile(){¬
  export PS1="$SMILE $PS1"¬
}¬
PROMPT_COMMAND="add_smile"¬                                                                                                                                                                                                     

Install

  • Rubygems

    gem install smile_me_please

  • curl

    curl -O https://github.com/guillermo/smile_me_please/blob/master/bin/smile_me_please chmod +x smile_me_please

License

"THE BEER-WARE LICENSE" (Revision 42):
<guillermo@cientifico.net> wrote this file. As long as you retain this notice you
can do whatever you want with this stuff. If we meet some day, and you think
this stuff is worth it, you can buy me a beer in return Guillermo Álvarez

FAQs

Package last updated on 07 Mar 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc