While I am in bash , I am able to do a tab complete with environment variable names, but with ksh I am not able to do so. How can I get it done with KSH?I am using mksh with cygwin.
Variable name completion in ksh
ksh;autocomplete;mksh
mksh author here (again) Tab completion in mksh is deliberately deterministic: the first word on the line (or after certain characters like ) and ;) is completed as a command by default, all other words are completed as filenames by default.However, once you wrote a variable name, e.g. echo $PWD_ (where _ is your cursor) and press Tab, the variable will (since a couple of versions) be expanded inline (e.g. to echo /_ if youre in the root directory).Feel free to visit mkshs IRC channel (pointed out at the end of its manpage) in addition there is no mksh tag here yet, so Im only looking in here occasionally.