-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: where's the StaticDict.xml? #8
Comments
Hi, The static dictionary is not included in the repo because it is only relevant to the user's context. It contains custom entries which are written to disk after a suggestion is accepted by the user. The format of the file is a hashtable from Export-Clixml. If you want to look at one you can install the module and accept some suggestions, then open the file from the module directory. Nial |
Really thanks for the quick reply! I guess I still don't understand what that file is, because that just seemed to be the problem preventing me from "accepting some suggestions".
Sorry for the Chinese mixed in the output, but I have no idea what they would be in the en-US version of Windows. I put translations right after them. I am using PowerShell with Cmder (ConEmu 161022, stable) on Windows 10 Professional (version 15063.296). Installed the module by executing the script, manually added |
Sorry for the late reply mate. Open powershell without cmder. Ive never used it so guessing it controls the host in some way? Try the same thing then. That path to cmder in the error i think is the cause, can your session write to it? Maybe it could be related to the chinese locale too, it suggested the same wrong command. Try to fix the dict path first then we'll see if the suggestion works. Nial |
Hi, Thanks for the reminders. Now I tried in native powershell, this time it is not complaining about the missing I tried accepting the wrong suggestions for testing purpose, and still there's no |
Excuse me if this is a wrong place to ask such a stupid question, but the repository itself doesn't seem to contain one and googling the file name didn't return any result except this repo, plus the original thefuck uses .py files as rules. I was hoping to find some ready-made StaticDict.xml, or an example, or some documentation about how to write one from scratch. Thanks in advance.
The text was updated successfully, but these errors were encountered: