Open Zgh20060114 opened 1 month ago
哦,抱歉,问题应该不在无法[y/N]进行选择,而是”无法访问父目录:没有那个文件或目录“
y/n选择无法输入吗?此处的无法访问父目录是一个无关紧要的错误,不影响使用,我会尝试抑制这个无关信息。另外,即使不配置y/n,一路ENTER,也是可以使用的,只是针对不同类型终端的用户体验优化。
就是安装的时候,信息一路滚动,我都没来得及输入y/n 目前情况是图标乱码,而且和老师您的界面长的不一样欸
安装nerd fonts并终端字体将设为nerd fonts可以解决乱码。
按理说y/n是会等待你输入,才会继续执行,而不是直接执行下去,你可以执行一下这个命令帮我测试一下吗?可能有的bash版本不支持read
echo -n "[Y/n] "
read -n1 res
echo "你输入了 $res"
zgh@zgh-virtual-machine:~$ echo -n "[Y/n] " [Y/n] zgh@zgh-virtual-machine:~$ read -n1 res zgh@zgh-virtual-machine:~$ eecho "你输入了 $res"
找不到命令“eecho”,您的意思是:
command 'echo' from deb coreutils (8.30-3ubuntu2)
尝试 sudo apt install
zgh@zgh-virtual-machine:~$ echo "你输入了 $res" 你输入了 e
看起来没什么问题,你的read会在这里停住吗?
echo -n "==> 是或否,默认选否 [y/N] "
read -n1 x 2> /dev/null || read x || x=n
之前我是在虚拟机了安装的,刚才我在另一台双系统笔记本ubuntu20.04又安装了一次,也设置了nerd-fonts字体,现在有些地方的图标是乱码,如图 其他图标是对的 还有:checkhealth里面有很多error,不知道正不正常
看起来没什么问题,你的read会在这里停住吗?
echo -n "==> 是或否,默认选否 [y/N] " read -n1 x 2> /dev/null || read x || x=n
会停住的
设定的是JetBrainMono NerdFont吗
设定的是JetBrainMono NerdFont吗
是的,就是按照老师您readme里面那个链接博客里下载安装的NerdFont
设定的是JetBrainMono NerdFont吗
是的,就是按照老师您readme里面那个链接博客里下载安装的NerdFont
设定的是JetBrainMono NerdFont吗
是的,就是按照老师您readme里面那个链接博客里下载安装的NerdFont
下载的JetBrainMono.zip没有找到JetBrainMono NerdFont,是不是这个原因呀
抱歉老师,是我的问题,下错字体了换回正确字体就好了
所以那个博客里的链接是错的吗
无法顺畅的大口呼吸,是活着的最好证明
---原始邮件--- 发件人: @.> 发送时间: 2024年9月18日(周三) 下午2:32 收件人: @.>; 抄送: @.**@.>; 主题: Re: [archibate/vimrc] 在Ubuntu20.04安装遇到问题 (Issue #37)
设定的是JetBrainMono NerdFont吗
是的,就是按照老师您readme里面那个链接博客里下载安装的NerdFont
下载的JetBrainMono.zip没有找到JetBrainMono NerdFont,是不是这个原因呀
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
对,那个里面没有那个字体,我在https://www.nerdfonts.com/找的
无法[y/N]进行选择,一路滚动就自己安装完成了,没法进行配置 下面是过程信息:
现在开始为您的个性化定制,如果不确定,可以一路按 ENTER 下去
=================================
==> Did your terminal shows this symbols correctly? (clock symbol) ==> 您的终端是否能正常显示此字符? (应为时钟符号) ==> 是或否,默认选否 [y/N] shell-init:获取当前目录时出错: getcwd: 无法访问父目录:没有那个文件或目录 Error detected while processing /home/zgh/.local/share/nvim/site/pack/packer/start/cmake-tools.nvim/plugin/cmake-tools.lua: E5113: Error while calling lua chunk: ...ack/packer/start/cmake-tools.nvim/plugin/cmake-tools.lua:4: loop or previous error loading module 'cmake-tools' stack traceback: [C]: in function 'require' ...ack/packer/start/cmake-tools.nvim/plugin/cmake-tools.lua:4: in main chunk Error detected while processing command line: packer.nvim: Error running config for cmake-tools.nvim: /home/zgh/.config/nvim/lua/archvim/config/cmake-tools.lua:1: loop or previous error loading module 'cmake-tools' packer.nvim: Error running config for neogit: ...m/site/pack/packer/start/neogit/lua/neogit/lib/state.lua:19: attempt to index a nil value=================================
-- Worry not, you may still use NeoVim without the fancy icons. -- 别担心,您仍然可以正常使用 NeoVim,只不过没有了一些花哨的图标。
==> The symbol
is not showing correctly due to lack of the Nerd Fonts. Would you like to install and enable it right now? ==> 此字符 “ ” 无法显示可能是因为您没有安装 Nerd Fonts 字体,要现在安装并启用这款字体吗? ==> 是或否,默认选否 [y/N]==> Do you need to use this NeoVim in remote connection (SSH)? ==> 您是否需要在远程连接(SSH)中使用此 NeoVim? ==> 是或否,默认选是 [Y/n] shell-init:获取当前目录时出错: getcwd: 无法访问父目录:没有那个文件或目录 Error detected while processing /home/zgh/.local/share/nvim/site/pack/packer/start/cmake-tools.nvim/plugin/cmake-tools.lua: E5113: Error while calling lua chunk: ...ack/packer/start/cmake-tools.nvim/plugin/cmake-tools.lua:4: loop or previous error loading module 'cmake-tools' stack traceback: [C]: in function 'require' ...ack/packer/start/cmake-tools.nvim/plugin/cmake-tools.lua:4: in main chunk Error detected while processing command line: packer.nvim: Error running config for cmake-tools.nvim: /home/zgh/.config/nvim/lua/archvim/config/cmake-tools.lua:1: loop or previous error loading module 'cmake-tools' packer.nvim: Error running config for neogit: ...m/site/pack/packer/start/neogit/lua/neogit/lib/state.lua:19: attempt to index a nil value
==> Did you set any background image for the terminal? ==> 您是否为终端设定了背景贴图(例如二次元壁纸)? ==> 是或否,默认选是 [Y/n] shell-init:获取当前目录时出错: getcwd: 无法访问父目录:没有那个文件或目录 Error detected while processing /home/zgh/.local/share/nvim/site/pack/packer/start/cmake-tools.nvim/plugin/cmake-tools.lua: E5113: Error while calling lua chunk: ...ack/packer/start/cmake-tools.nvim/plugin/cmake-tools.lua:4: loop or previous error loading module 'cmake-tools' stack traceback: [C]: in function 'require' ...ack/packer/start/cmake-tools.nvim/plugin/cmake-tools.lua:4: in main chunk Error detected while processing command line: packer.nvim: Error running config for cmake-tools.nvim: /home/zgh/.config/nvim/lua/archvim/config/cmake-tools.lua:1: loop or previous error loading module 'cmake-tools' packer.nvim: Error running config for neogit: ...m/site/pack/packer/start/neogit/lua/neogit/lib/state.lua:19: attempt to index a nil value
Inlay Hint: add(a: 1, b: 2) No Inlay Hint: add(1, 2)
Inlay Hint: auto i:int = 1; No Inlay Hint: auto i = 1;
==> Would you like to enable inlay hints? ==> 您是否希望开启 Inlay Hint 提示? ==> 是或否,默认选是 [Y/n] shell-init:获取当前目录时出错: getcwd: 无法访问父目录:没有那个文件或目录 Error detected while processing /home/zgh/.local/share/nvim/site/pack/packer/start/cmake-tools.nvim/plugin/cmake-tools.lua: E5113: Error while calling lua chunk: ...ack/packer/start/cmake-tools.nvim/plugin/cmake-tools.lua:4: loop or previous error loading module 'cmake-tools' stack traceback: [C]: in function 'require' ...ack/packer/start/cmake-tools.nvim/plugin/cmake-tools.lua:4: in main chunk Error detected while processing command line: packer.nvim: Error running config for cmake-tools.nvim: /home/zgh/.config/nvim/lua/archvim/config/cmake-tools.lua:1: loop or previous error loading module 'cmake-tools' packer.nvim: Error running config for neogit: ...m/site/pack/packer/start/neogit/lua/neogit/lib/state.lua:19: attempt to index a nil value
-- You may always edit these settings later in: ~/.local/share/nvim/archvim/opts.json -- 您以后可以随时修改这些设置:~/.local/share/nvim/archvim/opts.json