[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [Proposal] Change default _PROMPT from "> " to "> " (two spaces)
- From: Daurnimator <quae@...>
- Date: Sat, 3 Feb 2018 10:23:46 -0800
On 3 February 2018 at 08:44, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> There is of course the obvious (to Linux users) workaround,
>
> alias lua="lua -e \"_PROMPT, _PROMPT2 = whatever\" -i "
>
> which caters also for the case where someone does not like your proposal.
I find aliases clunky. Instead I use LUA_INIT (I just add a bit of
colour) from my .bashrc:
export LUA_INIT='_PROMPT="\1\27[32;1m\2>\1\27[0m\2 ";
_PROMPT2="\1\27[36;1m\2>>\1\27[0m\2 "'