[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 46a49b748e: Work around `&' dired command when using the fish she
From: |
Lars Ingebrigtsen |
Subject: |
master 46a49b748e: Work around `&' dired command when using the fish shell |
Date: |
Mon, 29 Aug 2022 11:16:48 -0400 (EDT) |
branch: master
commit 46a49b748eaf5553a6eb45215b14baebc090b33b
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Work around `&' dired command when using the fish shell
* lisp/dired-aux.el (dired-shell-stuff-it): Add a space before
&wait; this apparently makes the `&' command work with the fish
shell (bug#57472).
---
lisp/dired-aux.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 06f0b86fc4..0e8062af52 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -987,7 +987,7 @@ Also see the `dired-confirm-shell-command' variable."
;; Add 'wait' to force those POSIX shells to wait until
;; all commands finish.
(or (and parallel-in-background (not w32-shell)
- "&wait")
+ " &wait")
"")))
(t
(let ((files (mapconcat #'shell-quote-argument
@@ -999,7 +999,7 @@ Also see the `dired-confirm-shell-command' variable."
;; Be consistent in how we treat inputs to commands -- do
;; the same here as in the `on-each' case.
(if (and in-background (not w32-shell))
- "&wait"
+ " &wait"
"")))))
(or (and in-background "&")
""))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 46a49b748e: Work around `&' dired command when using the fish shell,
Lars Ingebrigtsen <=