Files
nixos/Droidnix/generated/.config/zsh/.zshrc
T
2026-03-30 13:23:09 +00:00

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
''