mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-26 01:41:14 +01:00
fix for jobs -l -d, check if directory of job is already set (11170)
This commit is contained in:
parent
6a93b85903
commit
82ca135d34
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-05-05 Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
|
||||
|
||||
* 11170: Src/jobs.c: fix for jobs -l -d, check if directory of job
|
||||
is already set
|
||||
|
||||
2000-05-04 Tanaka Akira <akr@zsh.org>
|
||||
|
||||
* 11166: Completion/Base/_regex_arguments: remove debugging code.
|
||||
|
|
|
@ -734,7 +734,7 @@ printjob(Job jn, int lng, int synch)
|
|||
if ((lng & 4) || (interact && job == thisjob &&
|
||||
jn->pwd && strcmp(jn->pwd, pwd))) {
|
||||
fprintf(shout, "(pwd %s: ", (lng & 4) ? "" : "now");
|
||||
fprintdir((lng & 4) ? jn->pwd : pwd, shout);
|
||||
fprintdir(((lng & 4) && jn->pwd) ? jn->pwd : pwd, shout);
|
||||
fprintf(shout, ")\n");
|
||||
fflush(shout);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue