NAME
Reply::Plugin::Prompt - reply plugin for powerlevel10k style prompt
VERSION
version 0.0.21.0
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.
Now this plugin supports wakatime which will record your time to use perl in Reply. If you don't want it, please remove wakatime from @sections.
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 =
( 'wakatime', 'result', 'os', 'version', 'path', 'time' ); # section order
%section_colors = (
'wakatime' => '',
'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
$wakatime_cmd =
'wakatime-cli --write --plugin=repl-reply-wakatime --entity-type=app --entity=perl --alternate-language=perl --project=%s &';