Currently IEx allows configuration of various prompts as strings, I was 
curious if we wanted to allow configured nullary functions to return a 
string instead. This would allow users to configure their own function to 
add things like timestamps to their prompts.

ex:
```elixir
config :iex, default_prompt: fn -> 
"#{DateTime.to_string(DateTime.utc_now())} %prefix(%counter)" end
```

I'd also be interested in adding timing data between executions to the 
prompt, but that would require a different change.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/5a441cdc-605e-4e30-b0c5-01bbf3238d5dn%40googlegroups.com.

Reply via email to