kndndrj / nvim-dbee

Interactive database client for neovim
GNU General Public License v3.0
618 stars 40 forks source link

dbee not found after add the plugin by lazy #53

Closed LintaoAmons closed 6 months ago

LintaoAmons commented 7 months ago

I added this plugin by lazy, but when I trying to add a new connection, it says that dbee not found

I have to do find the install path and then manually give the runnable permission and add it to the PATH, then it can work

nvim/dbee/bin
❯ ls
dbee

nvim/dbee/bin
❯ dbee
zsh: command not found: dbee

nvim/dbee/bin
❯ ./dbee
zsh: permission denied: ./dbee

nvim/dbee/bin
❯ chmod u+x dbee

nvim/dbee/bin
❯ ./dbee
^C

nvim/dbee/bin took 5s
❯ export PATH=$(pwd):$PATH

nvim/dbee/bin
❯ cd

~
❯ dbee
^C
kndndrj commented 7 months ago

hi @LintaoAmons can you also provide the lazy entry and plugin's config? Thanks.

LintaoAmons commented 7 months ago

https://github.com/LintaoAmons/CoolStuffes/blob/439e5cef30ee27b4b127f627764486ae645b2d9e/lazyvim/.config/nvim/lua/plugins/database.lua#L4

sorry, I mean I installed this plugin by Lazyvim

kndndrj commented 6 months ago

@LintaoAmons there isn't any dbee related config in the file 😅

LintaoAmons commented 6 months ago

Oh... Sorry I forgot I've removed it... But I think I just copied the config in the README...

Since I found nobody else reporting this issue, I guess it must be some strange case, but it's fine, I shall try later