Created
September 2, 2025 13:21
-
-
Save stuartrivero/9aa2675bf0702fd7d1466a5f9f7cf06a to your computer and use it in GitHub Desktop.
My 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
| java_version() { | |
| cat $JAVA_HOME/release | grep JAVA_VERSION= | tr -d '"' | awk -F= '{print $2}' | |
| } | |
| node_version() { | |
| node --version | |
| } | |
| autoload -Uz compinit && compinit | |
| export PROMPT="$FG[006]%~% \$(git-radar --zsh --fetch) | |
| $FG[008][$FG[006]J:\$(java_version)$FG[008]|$FG[006]N:\$(node_version)$FG[008]] >%{$reset_color%} " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment