Show More
@@ -137,6 +137,10 b' def multiple_replace(dict, text):' | |||||
137 |
|
137 | |||
138 | HOME = py3compat.str_to_unicode(os.environ.get("HOME","//////:::::ZZZZZ,,,~~~")) |
|
138 | HOME = py3compat.str_to_unicode(os.environ.get("HOME","//////:::::ZZZZZ,,,~~~")) | |
139 |
|
139 | |||
|
140 | # This is needed on FreeBSD, and maybe other systems which symlink /home to | |||
|
141 | # /usr/home, but retain the $HOME variable as pointing to /home | |||
|
142 | HOME = os.path.realpath(HOME) | |||
|
143 | ||||
140 | # We precompute a few more strings here for the prompt_specials, which are |
|
144 | # We precompute a few more strings here for the prompt_specials, which are | |
141 | # fixed once ipython starts. This reduces the runtime overhead of computing |
|
145 | # fixed once ipython starts. This reduces the runtime overhead of computing | |
142 | # prompt strings. |
|
146 | # prompt strings. |
General Comments 0
You need to be logged in to leave comments.
Login now