Open
Description
Selectrum seems to handle ../
+ partial filename completions oddly in eshell.
Given this dir structure:
~/
folder/
script.sh
And this init.el:
(require 'package)
;; Configure MELVA package repo
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/"))
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(require 'use-package)
(use-package selectrum
:demand
:init
(selectrum-mode +1))
Perform these steps:
M-x eshell
- In the eshell buffer,
cd ~/folder
- From here, type
../scr
+ TAB
Expected:
- Completion to
../script.sh
.
Actual:
- Completion to
script.sh
, which isn't part of the working dir~/folder
.
This also happens when you replace the completion of ../script.sh
with a completion of any other file in the parent dir, including other directories.
Metadata
Metadata
Assignees
Labels
No labels