-
-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to fix issue #2504 in eshell completion
This fix the default eshell completion based on completion-at-point which fails to complete a filename not preceded by a meaningful command like cd or ls. Pcomplete and helm-eshell are working properly in this case. Problem is that the base-size returned by completion-all-completions in this case is always zero (seems it assume we are trying to complete a command even if the metadata specify a file completion) To fix it we try here to recalculate the base-size from the last / found.
- Loading branch information
1 parent
218fa70
commit 452dd1b
Showing
1 changed file
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters