Last active
March 28, 2018 14:52
-
-
Save imkh/db581924555a3a69f6be658a4c42d7bb to your computer and use it in GitHub Desktop.
Oh-My-Zsh custom theme & prompt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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