Reply::Plugin::Prompt - reply plugin for powerlevel10k style prompt
version 0.0.21.0
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.
Enable this plugin in your ~/.replyrc:
[Prompt]
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 &';
To install Reply::Plugin::Prompt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Reply::Plugin::Prompt
CPAN shell
perl -MCPAN -e shell install Reply::Plugin::Prompt
For more information on module installation, please visit the detailed CPAN module installation guide.