rakyll/drive

cannot resolve symbolic paths

j-hui opened this issue · 0 comments

j-hui commented

I've set up symbolic links so that I can easily cd into directories nested deep in my Google Drive. However, running drive tells me no drive context found, because it traverses up my symbolic path and cannot find my drive init'd root directory.

At the moment, I'm getting around this with the following in my .bashrc:

function dr() {(
    cd -P .
    drive "$@"
)}

But it's kind of hacky. Would appreciate a better solution implemented within drive!