On 4/28/15 2:44 PM, isabella parakiss wrote: > --- > execute_cmd.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/execute_cmd.c b/execute_cmd.c > index e3aa37f..51c29c6 100644 > --- a/execute_cmd.c > +++ b/execute_cmd.c > @@ -4283,6 +4283,7 @@ run_builtin: > > if (autocd && interactive && words->word && is_dirname (words->word->word)) > { > + words = make_word_list (make_word ("--"), words); > words = make_word_list (make_word ("cd"), words); > xtrace_print_word_list (words, 0); > goto run_builtin;
Thanks, this is a good idea and the right fix. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/