diff --git a/jedi/settings.py b/jedi/settings.py index cef4dd4f..6c842306 100644 --- a/jedi/settings.py +++ b/jedi/settings.py @@ -119,7 +119,8 @@ use_filesystem_cache = True Use filesystem cache to save once parsed files with pickle. """ -jedi_cache_directory = '~/.jedi' +import os +jedi_cache_directory = os.getenv('HOME') + os.path.sep + '~/.jedi' """ The path where all the caches can be found. """