Skip to content

This made me stupidly pleased this morning. #49

@abeal-hottomali

Description

@abeal-hottomali

Bash prompt:

# File: ~/.profile

# Selects a random emoji for my terminal prompt using emojify.
RANDOM_EMOJI=$(emojify -l | shuf -n 1 | sed 's/:.*//' | sed 's/ //g')
export PS1='\W ${RANDOM_EMOJI} >'

Yields:

Last login: Tue Sep 10 07:28:33 on ttys002
~ 📠 >

In case you want to add it to your docs so that others can be as well. ;)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions