lib/shellplay/config.rb in shellplay-0.0.5 vs lib/shellplay/config.rb in shellplay-0.0.6
- old
+ new
@@ -14,9 +14,10 @@
def setup
values = {}
output.puts Paint['Create a new shellplay configuration:', :blue]
values['editor'] = guess 'EDITOR', 'What is the path to launch your text editor?', 'vim'
values['prompt'] = ask 'What is the default prompt you want to use?'
+ values['timeformat'] = ask 'What is the time format you want to display?', '%.1f'
write values
end
end
end