22 lines
566 B
Bash
22 lines
566 B
Bash
let
|
|
zshSyntaxHighlighter = "${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh";
|
|
in ''
|
|
# Load colors
|
|
autoload -U colors; colors
|
|
|
|
# Catppuccin colors
|
|
mocha_blue="#89B4FA"
|
|
mocha_peach="#FAB387"
|
|
mocha_lavender="#B4BEFE"
|
|
mocha_red="#F38BA8"
|
|
mocha_green="#A6E3A1"
|
|
|
|
PROMPT="%F{$mocha_blue}%n%f@%F{$mocha_peach}%m%f %F{$mocha_lavender}%~%f %F{$mocha_red}$%f "
|
|
RPROMPT="%F{$mocha_green}%T%f"
|
|
|
|
# Source syntax highlighting
|
|
if [ -f "${zshSyntaxHighlighter}" ]; then
|
|
source "${zshSyntaxHighlighter}"
|
|
fi
|
|
''
|