microsoft / inshellisense

IDE style command line auto complete
MIT License
8.21k stars 179 forks source link

Enable the user to move the config file without having to use a symbolic link or windows shortcut #240

Closed iwino closed 2 months ago

iwino commented 2 months ago

Problem

Forcing the user to place .inshellisenserc in the user's home directory is just rude, not to mention outdated and messy.

Neither a symbolic link nor a Windows shortcut is an appropriate solution as they just clutter the home directory be it hidden from view or not.

Proposals

  1. Provide an environment variable to let the user decide where to place the config file .inshellisenserc.
  2. Respect XDG_CONFIG_HOME environment variable like many other applications.