# Reply-Plugin-Prompt [](https://results.pre-commit.ci/latest/github/Freed-Wu/Reply-Plugin-Prompt/main) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/releases) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/releases/latest) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/issues) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/issues?q=is%3Aissue+is%3Aclosed) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/pulls) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/pulls?q=is%3Apr+is%3Aclosed) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/discussions) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/milestones) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/network/members) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/stargazers) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/watchers) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/graphs/contributors) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/graphs/commit-activity) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/commits) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/releases/latest) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt/blob/main/LICENSE) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt) [](https://github.com/Freed-Wu/Reply-Plugin-Prompt) [](https://metacpan.org/pod/Reply::Plugin::Prompt) [Reply](https://metacpan.org/pod/Reply) plugin for [powerlevel10k](https://github.com/romkatv/powerlevel10k) style prompt. It is an enhancement of [Reply::Plugin::FancyPrompt](https://metacpan.org/pod/Reply::Plugin::FancyPrompt). Your perl deserves a beautiful REPL.  ## Install ```bash cpan Reply::Plugin::Prompt ``` Enable this plugin in your `~/.replyrc`: ```dosini [Prompt] ``` ## Build ```bash ./Makefile.PL cp MANIFEST.SKIP.bak MANIFEST.SKIP make manifest make dist ``` ## Configure ### Section Order ```perl @sections = ( 'result', 'os', 'version', 'path', 'time' ); ``` ### Section Colors ```perl %section_colors = ( 'result' => 'yellow on_red', 'os' => 'black on_yellow', 'version' => 'blue on_black', 'path' => 'white on_blue', 'time' => 'black on_white', ); ``` ### Section Separator ```perl $sep = ''; ``` ### Whitespaces Which Padded Around Section Text ```perl $insert_text = ' %s '; ``` ### Section Text ```perl $insert_result = '✘ %s'; $insert_version = 'î© %s'; $insert_os = '%s'; $insert_time = ' %s'; ``` ### Time Format ```perl $time_format = '%H:%M:%S'; ``` ### Prompt Character ```perl $prompt_char = '⯠'; ``` ### Configuration File The configuration file path respects [XDG](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html), which is `${XDG_CONFIG_PATH:-$HOME/.config}/reply/prompt.pl`. ## Similar Prompts See [here](https://github.com/Freed-Wu/my-dotfiles/wiki).