help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] Why bash does not recoganize array type smartly?


From: Dan Douglas
Subject: Re: [Help-bash] Why bash does not recoganize array type smartly?
Date: Wed, 16 Mar 2016 19:21:30 +0000

On 3/16/16, Greg Wooledge <address@hidden> wrote:
> On Wed, Mar 16, 2016 at 06:40:32PM +0000, Dan Douglas wrote:
>> That's basically what my current solution is. I heard zsh has a
>> pre-command variable that would be much better but I still need some
>> ugly hacks to make it work.
>
> Bash 4.4-rc1 also has this:
>
> c.  New prompt string: PS0.  Expanded and displayed by interactive shells
> after
>     reading a complete command but before executing it.
>
> I haven't tested it, but I'm assuming you can put command substitutions
> in it, if you're into that.

Ah very interesting. I might just be motivated to upgrade to the rc
system-wide for that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]