mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 22:55:00 +08:00
Change some dir paths
This commit is contained in:
parent
efb005462f
commit
e7501dedb0
4 changed files with 13 additions and 20 deletions
|
|
@ -2,8 +2,8 @@ import atexit
|
|||
import os
|
||||
import readline
|
||||
|
||||
|
||||
xdg_data_home = os.getenv('XDG_DATA_HOME', os.path.expanduser('~/.data'))
|
||||
xdg_data_home = os.getenv(
|
||||
'XDG_DATA_HOME', os.path.expanduser('~/.local/share'))
|
||||
data_dir = os.path.join(xdg_data_home, 'python')
|
||||
readline_history_file = os.path.join(data_dir, 'history')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue