Skip to content

Instantly share code, notes, and snippets.

@dannguyen
Last active August 19, 2020 00:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dannguyen/8fc2184c67bcd5186213551e31dabf2f to your computer and use it in GitHub Desktop.
Save dannguyen/8fc2184c67bcd5186213551e31dabf2f to your computer and use it in GitHub Desktop.
my bash prompt with a ghost and stuff

this goes in my bash profile:

XRESET='\[\033[00m\]'
PROMPT_PATH="\[\033[0;33m\]\W${XRESET} \[\033[1;37m\]\$${XRESET}"
PROMPT_GHOST="༼ つ\[\033[1;33m\]°${XRESET}\[\033[1;31m\]︻\[\033[1;33m\]゜${XRESET}༽つ🐕"

export PS1="${PROMPT_GHOST} ${PROMPT_PATH} "
  • PROMPT_PATH has been set to show the name of just the immediate parent directory, in yellow.
  • PROMPT_GHOST is the emoji/emoticon stuff

And it looks like: see image in comments

Resources:

@dannguyen
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment