mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
simplify prompt color setting
This commit is contained in:
parent
100df85b27
commit
95c7ba8fe5
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ module Inspec
|
|||
|
||||
# configure pry shell prompt
|
||||
Pry.config.prompt_name = 'inspec'
|
||||
Pry.prompt = [proc{ |obj, nest_level, pry| "\e[0;32m#{Pry.config.prompt_name}\e > " }]
|
||||
Pry.prompt = [proc {"\e[0;32m#{Pry.config.prompt_name}>\e[0m "}]
|
||||
|
||||
# Add a help menu as the default intro
|
||||
Pry.hooks.add_hook(:before_session, :intro) do
|
||||
|
|
Loading…
Add table
Reference in a new issue