mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
parent
559ead890c
commit
d0578b2c10
@ -98,8 +98,8 @@ def migrate_osx_xdg_data(config):
|
|||||||
|
|
||||||
xdg_data_home = os.path.join(os.path.expanduser('~'), '.local', 'share')
|
xdg_data_home = os.path.join(os.path.expanduser('~'), '.local', 'share')
|
||||||
xdg_aj_home = os.path.join(xdg_data_home, 'autojump')
|
xdg_aj_home = os.path.join(xdg_data_home, 'autojump')
|
||||||
data_path = os.path.join(xdg_aj_home, 'autojump.txt'),
|
data_path = os.path.join(xdg_aj_home, 'autojump.txt')
|
||||||
backup_path = os.path.join(xdg_aj_home, 'autojump.txt.bak'),
|
backup_path = os.path.join(xdg_aj_home, 'autojump.txt.bak')
|
||||||
|
|
||||||
if os.path.exists(data_path):
|
if os.path.exists(data_path):
|
||||||
move_file(data_path, config['data_path'])
|
move_file(data_path, config['data_path'])
|
||||||
|
Loading…
Reference in New Issue
Block a user