clink
clink copied to clipboard
Clink doesn't autocomplete ENV variables
I don't like the fact that tab doesn't expand ENV variables
This
C:\>%cd%
Should be after tab is pressed
C:\>C:\
You can expand them by pressing CTRL+ALT+E
From my very brief testing, it seems that you have to type the variable in the form %var%
, then have the cursor on or immediately after it and press the keystroke.
But note that %CD% may not be an actual environment variable. It is special in some way, so echo %CD%
does output the current directory, but %CD%
doesn't expand with this keystroke.
I actually didn't mean any of this.
I have a %prog% variable that loads to "C:\programming" and I can't use tab to navigate, I have to use ctrl alt e + project_na + tab to get "C:\programming\project_name"
The chrisant996/clink fork now supports this (as of v1.2.25) if you turn on the match.expand_envvars
Clink setting by running clink set match.expand_envvars true
.
I'll check it out thanks