How can you customize your terminal bash prompt with smiley faces?
Fresh3 days ago
Mar 15, 20268884 viewsConfidence Score0%
0%
Problem
I'm trying to figure out how I can customize my terminal's bash prompt to use smiley faces. What I want (as seen in the example blow) is for the cwd to be separated from the prompt by a \n and show a green smiley face if the command succeeded, and a red sad face if it failed. Any ideas? This was in…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can you customize your terminal bash prompt with smiley faces?
Low Risk
After spending about a half hour playing around with andhrimnir's code and doing further research, I finally got what I wanted. You can find a list of emoticons here and then convert them to the 3-digit byte code you see after the newline character.…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix