Alternatives to BASH/SHELL or ZSHRC Alternatives to BASH/SHELL or ZSHRC unix unix

Alternatives to BASH/SHELL or ZSHRC


Re: output to err and out are in different colours ... can be done in Bash.

# colourize stderr in current shell# note: use sed in line-buffering mode(exec 2> >(sed -l -e $'s/.*/\033[31m&\033[m/')ls -ld / xxxxx)# colourize stderr & stdout in current shell(exec  1> >(sed -l -e $'s/.*/\033[32m&\033[m/')  2> >(sed -l -e $'s/.*/\033[31m&\033[m/')ls -ld / xxxxx)


That isn't a trivial proposition.

There are shells that work with the terminal to echo the currently executing command in the title bar, such as bash on MacOS X.

The commands are autonomous and do not, in general, colour-code their output. So, to get colour-coded output, the shell will have to capture the error outputs of the commands it runs, and arrange to display that information appropriately colour-coded.

Searching the output requires the terminal program to keep the output it displays in a searchable form, and some program (probably the terminal program or possibly the shell) will have to respond to searching operations.


Emacs allows you to run interactive shells such as bash or zsh.

rc works similarly when run in Plan9 -- I'm not sure about its Unix ports.