Source

eshell / esh-ext.el

Diff from to

esh-ext.el

 					default-directory)))
 	   (find-file-name-handler default-directory
 				   'shell-command))))
-    (if handler
+    (if (and handler
+	     (not (and (eshell-under-xemacs-p)
+		       (eq handler 'dired-handler-fn))))
 	(eshell-remote-command handler command args))
     (let ((interp (eshell-find-interpreter command)))
       (assert interp)