folke / lazy.nvim

💤 A modern plugin manager for Neovim
https://lazy.folke.io/
Apache License 2.0
14.83k stars 359 forks source link

bug: nvim /proc/1/root/home/code error #1808

Closed fykyx521 closed 2 days ago

fykyx521 commented 2 days ago

Did you check docs and existing issues?

Neovim version (nvim -v)

v0.10.2

Operating system/version

ubuntu24.04

Describe the bug

lazynvim 不能正确读取/proc/1/root filesystem 不需要sudo ls fzf cd 等命令正常 lazyvim cannot read /proc/1/root filesystem but fzf ls cd .... is ok not need sudo. lazynvim

nvim /proc/1 is ok bug search file too many nvim /proc/1 正常

Steps To Reproduce

  1. k8s debug pod use cmd kubectl debug -it pod/w7-appconsole-dev-app-euccfuxs1k-6668d5d8cf-g545g --image=ccr.ccs.tencentyun.com/afan-public/k8s:lazynvim-commit --target=app-euccfuxs1k -- /bin/bash

  2. nvim /proc/1/root/home/code error lazynvim

  3. nvim /proc/1 ok

mydockerfile `FROM ubuntu:24.04

RUN apt update && apt install -y wget git curl RUN wget https://github.moeyy.xyz/https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz RUN rm -rf /opt/nvim RUN tar -C /opt -xzf nvim-linux64.tar.gz && rm nvim-linux64.tar.gz ENV PATH=$PATH:/opt/nvim-linux64/bin

RUN git clone https://github.com/LazyVim/starter ~/.config/nvim `

Expected Behavior

  1. nvim /proc/1/root/home/console.w7.cc is ok

Repro

No response

fykyx521 commented 2 days ago

![Uploading ok.png…]() /proc/1 ok

/proc/1/root/home/console.w7.cc not ok

folke commented 2 days ago

This is not due to LAzyVim. moving to discussions...