Skip to content

Commit

Permalink
Update prompt
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Crane <marcus@utf9k.net>
  • Loading branch information
marcus-crane committed Jun 19, 2024
1 parent 86633ab commit 54c10c6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions zshrc.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,8 @@ Currently, I use [powerlevel10k](https://github.com/romkatv/powerlevel10k) as my
if [[ -f "$HOME/.p10k/powerlevel10k.zsh-theme" ]]; then
source "$HOME/.p10k/powerlevel10k.zsh-theme"
else
# If powerlevel10 is not installed, use a nice minimal green prompt
if [[ $TERM_PROGRAM == "iTerm.app" ]]; then
export PROMPT=' ' # Installing iTerm helpers adds an arrow prompt
else
export PROMPT='%B%F{green}>%f%b ' # I'd like a prompt in every other terminal
fi

export RPROMPT='%(?.%F{green}.%F{red})%t / %? / %L%f'
export PS1='%F{green}%3d %B%F{green}>%f%b '
export RPROMPT='%(?.%F{green}.%F{green})%t / %? / %L%f'
fi
```

Expand Down

0 comments on commit 54c10c6

Please sign in to comment.