#526402 bash: syntax highlighting would be pretty and useful

Package:
bash
Source:
bash
Description:
GNU Bourne Again SHell
Submitter:
"Kingsley G. Morse Jr."
Date:
2011-09-17 09:31:08 UTC
Severity:
wishlist
#526402#5
Date:
2009-04-30 23:15:31 UTC
From:
To:
Thanks for maintaining debian's bash package.

It's my preferred language for day to day work.

The main reason I'm writing is that it occurred to
me that bash's command line could be made

    a.) prettier and

    b.) more useful

with syntax highlighting.

A screen shot of vim's implementation is attached.

Thanks,
Kingsley

#526402#10
Date:
2009-06-30 00:59:43 UTC
From:
To:
Until this is fixed, try the fish shell.  It has syntax
highlighting[1] as you desire.  Unfortunately, its scripting syntax is
different than bash's.  I wish it used bash scripting syntax.

Regards,
-Jason

^  [1].  http://fishshell.org/screenshots.html

#526402#15
Date:
2011-09-17 09:29:45 UTC
From:
To:
The developers of bash never showed a lot of interest for the feature you
request (http://lists.gnu.org/archive/html/bug-bash/2009-08/msg00019.html).

You might try fizsh instead, which provides a zsh implementation of
syntax-highlighting. Fizsh is available in Debian unstable (
http://packages.debian.org/sid/shells/fizsh)

The package fizsh uses zsh under the hood. Therefore it generally accepts
bash-compatible syntax.

Moreover, fizsh gives yoy all the benefits of zsh. The latter is IMO a much
more powerful shell than bash.

Best wishes,

Guido