Fish currently encounters an error when trying to call a process with too
long of a completion list.
Example (I don't use the default fish prompt):

chris ~ > cat ** #any folder with lots of files/subdirectories will do
fish: Failed to execute process "/bin/cat"
execve: Argument list too long
fish: Backtrace:
-fish [0x8073aed]

chris ~ >

I'd like to suggest that rather than erroring when this happens, fish should
do the following:

chris ~ > cat **
fish: Number of arguments to command (XXX) exceeds system limit (YYY).
fish: Please try running the command again with fewer arguments.

Where XXX is the number of arguments the command was given and YYY is the
system limit on the maximum number of command arguments.

- Chris Rebert
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to