[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master af1e8605701: Fix file name completion in `shell'
From: |
Michael Albinus |
Subject: |
master af1e8605701: Fix file name completion in `shell' |
Date: |
Sun, 10 Sep 2023 03:53:58 -0400 (EDT) |
branch: master
commit af1e860570191014d94484d6944348b1766ba59f
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>
Fix file name completion in `shell'
* lisp/shell.el (shell-completion-vars): Fix setting of
`pcomplete-remote-file-ignore'. (Bug#65705)
---
lisp/shell.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/shell.el b/lisp/shell.el
index b554ee5add9..084113c673a 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -596,7 +596,8 @@ Shell buffers. It implements `shell-completion-execonly'
for
;; shell-dynamic-complete-functions instead.
(setq-local pcomplete-default-completion-function #'ignore)
;; Do not expand remote file names.
- (setq-local pcomplete-remote-file-ignore t)
+ (setq-local pcomplete-remote-file-ignore
+ (not (file-remote-p default-directory)))
(setq-local comint-input-autoexpand shell-input-autoexpand)
;; Not needed in shell-mode because it's inherited from comint-mode, but
;; placed here for read-shell-command.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master af1e8605701: Fix file name completion in `shell',
Michael Albinus <=