Created
November 18, 2024 10:13
-
-
Save lcrespom/5d5654e59c1e89a0b57ddaa22c16aad9 to your computer and use it in GitHub Desktop.
My oh-my-zsh personal theme
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
| # Use Bun to generate a nice, colorful prompt | |
| function luis-prompt() { | |
| HOME=$HOME && HOST=$HOST bun $ZSH/themes/luis-prompt/src/index.ts | |
| } | |
| # Show a red arrow if there was an error in the previous command | |
| PROMPT="%(?::%{$fg_bold[red]%}%1{➜ %})" | |
| # Show the main part of the prompt (with path and git status) | |
| PROMPT+='$(luis-prompt)' | |
| # Add a newline and custom prompt character | |
| PROMPT+=$'\n'"❯ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment