This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new!

Re:bash completion?

Posted by: Anonymous Coward on May 09, 2006 09:30 PM
Or <a href="" title="">fish</a>. By far the best shell for interactive use in _my_ humble opinion. But I am not objective since I'm the author of fish.

A few advantages fish has over over zsh:

  • When autocompleting commands, a brief description of what each command does is shown, when autocompleting manual pages, the whatis info on that page is shown. When autocompleting a process id, the name of the process is shown, etc., etc..

  • When running inside X, the X clipboard buffer is used for copy and paste operations.

  • Syntax highlighting, including coloring many types of errors in red.

  • Good error reporting, including actually helpful error messages, stack traces with line numbers and argument lists, and detection of common errors with suggestions on how to fix them.

  • 'Universal variables', i.e. variables whose value is shared between all the users fish instances, and which are automatically saved across reboots. This is a very nice way to change configuration options like PAGER without having to edit any files.

  • No configuration required, fish comes with a sane default configuration, to use zsh at it's best you have to spend a lot of time tweaking your<nobr> <wbr></nobr>.zshrc file.

  • A much improved syntax. No more strange language quirks like whitespace sensitivity.


Return to CLI Magic: Bash complete