Skip to content

Instantly share code, notes, and snippets.

@imkh
Last active March 28, 2018 14:52
Show Gist options
  • Save imkh/db581924555a3a69f6be658a4c42d7bb to your computer and use it in GitHub Desktop.
Save imkh/db581924555a3a69f6be658a4c42d7bb to your computer and use it in GitHub Desktop.
Oh-My-Zsh custom theme & prompt
#!/usr/bin/env zsh
# Define prompts
#
PROMPT="%(?.%F{magenta}.%F{red})❯%f " # Display a red prompt char on failure
RPROMPT="%F{8}${SSH_TTY:+%n@%m}%f" # Display username if connected via SSH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment