Dracula Icon

grep

Dracula Theme for grep
grep - Theme Preview

grep

Theme Configuration

Important: The configuration method depends on your grep implementation. Use the appropriate section below based on your system.

GNU grep
Configuration

Add the following to your shell configuration file (.bashrc, .zshrc, etc.):

# Dracula theme for GNU grep - https://draculatheme.com/grep export GREP_COLORS="mt=1;38;2;255;85;85:fn=38;2;255;121;198:ln=38;2;80;250;123:bn=38;2;80;250;123:se=38;2;139;233;253"

Color Scheme Breakdown (GNU grep):

  • mt (match): Red (#ff5555) - highlighted matches;
  • fn (filename): Pink (#ff79c6) - file names;
  • ln (line number): Green (#50fa7b) - line numbers;
  • bn (byte offset): Green (#50fa7b) - byte offsets;
  • se (separator): Cyan (#8be9fd) - separators;
BSD grep

Compatible Systems:

Configuration

Add the following to your shell configuration file (.bashrc, .zshrc, etc.):

# Dracula theme for BSD grep - https://draculatheme.com/grep export GREP_COLOR="1;38;2;255;85;85"

Activating theme

After adding the configuration, restart your shell or run source ~/.bashrc (or your respective config file) to apply the changes. 🦇