From 29eecf64ceab2c622be339e16214fcf3829c67ad Mon Sep 17 00:00:00 2001 From: gitlinux <606023+gitealinux@user.noreply.gitee.com> Date: Sun, 1 Sep 2024 11:10:27 +0000 Subject: [PATCH 1/2] =?UTF-8?q?update=2003=5F=E5=B8=B8=E8=A7=81=E9=97=AE?= =?UTF-8?q?=E9=A2=98/FAQ.md.=20=E6=B7=BB=E5=8A=A0=E4=BA=86=20=E5=A6=82?= =?UTF-8?q?=E4=BD=95=E5=BC=80=E5=90=AF=E7=BB=88=E7=AB=AF=E9=87=8C=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E8=A1=A5=E5=85=A8=E6=97=B6=E5=BF=BD=E7=95=A5=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E5=86=99=E7=9A=84=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gitlinux <606023+gitealinux@user.noreply.gitee.com> --- 03_常见问题/FAQ.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/03_常见问题/FAQ.md b/03_常见问题/FAQ.md index b80eb5bd..c8741978 100644 --- a/03_常见问题/FAQ.md +++ b/03_常见问题/FAQ.md @@ -132,3 +132,10 @@ Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub ``` energy-full 是电池现在可容纳的最大电量,energy-full-design 是电池出厂时可容纳的最大电池容量 , capacity以百分比表示差异 + +## 如何开启终端里命令补全时忽略大小写的功能 +- Q:目录名或文件名,包含大小写时,自动补全会比较麻烦,如何忽略 +- A:在 ~/.inputrc 中加入一行如下参数即可 + ``` + set completion-ignore-case on + ``` \ No newline at end of file From 780c87f65fde9e28ad30ac4c4352550b2d3af51b Mon Sep 17 00:00:00 2001 From: gitlinux <606023+gitealinux@user.noreply.gitee.com> Date: Wed, 4 Sep 2024 22:42:18 +0000 Subject: [PATCH 2/2] =?UTF-8?q?update=2003=5F=E5=B8=B8=E8=A7=81=E9=97=AE?= =?UTF-8?q?=E9=A2=98/FAQ.md.=20=E8=A1=A5=E5=85=85=E6=8F=90=E9=86=92?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gitlinux <606023+gitealinux@user.noreply.gitee.com> --- 03_常见问题/FAQ.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/03_常见问题/FAQ.md b/03_常见问题/FAQ.md index c8741978..56c43734 100644 --- a/03_常见问题/FAQ.md +++ b/03_常见问题/FAQ.md @@ -135,7 +135,8 @@ Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub ## 如何开启终端里命令补全时忽略大小写的功能 - Q:目录名或文件名,包含大小写时,自动补全会比较麻烦,如何忽略 -- A:在 ~/.inputrc 中加入一行如下参数即可 +- A:执行如下命令即可 ``` - set completion-ignore-case on - ``` \ No newline at end of file + echo "set completion-ignore-case on" >> ~/.inputrc + ``` + 该操作容易造成命令混淆和影响环境变量等,请谨慎操作 \ No newline at end of file