-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
A:completionsIssues related to tab completionIssues related to tab completioncategory:enhancementNew feature or requestNew feature or requeststatus:needs-triageAn issue that hasn't had any proper lookAn issue that hasn't had any proper look
Description
Related problem
Inspired from fish
behavior, I want path auto complete when hitting <Tab>
after a variable storing a path.
Describe the solution you'd like
Example:
$ tree lib
lib
└── random
└── test.txt
$ let mypath = "./lib"
$ cd $mypath/ # pressing TAB here should autocomplete as if we're doing `cd ./lib`
This is also useful for storing common paths in env vars:
$ $env.I3CONF
/home/<....>/.config/i3
$ vim $env.I3CONF/ # pressing TAB here should autocomplete as if we're doing `vim ~/.config/i3/`
Describe alternatives you've considered
Can't think of anything to replicate this behavior.
Additional context and details
Test the behavior in Fish which has this feature
dmringo
Metadata
Metadata
Assignees
Labels
A:completionsIssues related to tab completionIssues related to tab completioncategory:enhancementNew feature or requestNew feature or requeststatus:needs-triageAn issue that hasn't had any proper lookAn issue that hasn't had any proper look