NAME

Reply::Plugin::Prompt - reply plugin for powerlevel10k style prompt

DESCRIPTION

Reply plugin for powerlevel10k style prompt. It is an enhancement of Reply::Plugin::FancyPrompt.

Your perl deserves a beautiful REPL. See README.md for screenshots.

CONFIGURE

ENABLE

Enable this plugin in your ~/.replyrc:

[Prompt]

CUSTOMIZE

Install nerd-font firstly.

Install File::XDG > 1.00, then edit ${XDG_CONFIG_PATH:-$HOME/.config}/reply/prompt.pl:

@sections = ( 'result', 'os', 'version', 'path', 'time' );    # section order
%section_colors = (    # section colors
    'result'  => 'yellow on_red',
    'os'      => 'black on_yellow',
    'version' => 'blue on_black',
    'path'    => 'white on_blue',
    'time'    => 'black on_white',
);
$sep            = '';         # section separator
$insert_text    = ' %s ';      # whitespaces which padded around section text
$insert_result  = '✘ %s';
$insert_version = ' %s';
$insert_os      = '%s';
$insert_time    = ' %s';
$time_format    = '%H:%M:%S';  # time format
$prompt_char    = '❯ ';        # prompt character