mirror of https://github.com/wting/autojump
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
279 B
9 lines
279 B
11 years ago
|
local HOME = clink.get_env("USERPROFILE") .."\\"
|
||
|
local AUTOJUMP_BIN = HOME .. ".autojump\\bin\\autojump"
|
||
|
|
||
|
function autojump_add_to_database()
|
||
|
os.execute("python " .. AUTOJUMP_BIN .. " --add " .. clink.get_cwd())
|
||
|
end
|
||
|
|
||
|
clink.prompt.register_filter(autojump_add_to_database, 99)
|