Changes to make autosuggestion smarter about not suggesting commands that could never succeed.

This commit is contained in:
ridiculousfish
2012-02-16 00:24:27 -08:00
parent a92d9d442b
commit a08450bcb6
11 changed files with 536 additions and 255 deletions

6
proc.h
View File

@@ -475,9 +475,7 @@ void job_free( job_t* j );
void job_promote(job_t *job);
/**
Create a new job. Job struct is allocated using halloc, so anything
that should be freed with the job can uset it as a halloc context
when allocating.
Create a new job.
*/
job_t *job_create();
@@ -519,7 +517,7 @@ void job_continue( job_t *j, int cont );
\param interactive whether interactive jobs should be reaped as well
*/
int job_reap( int interactive );
int job_reap( bool interactive );
/**
Signal handler for SIGCHLD. Mark any processes with relevant