得之我幸 失之我命

when someone abandons you,it is him that gets loss because he lost someone who truly loves him but you just lost one who doesn’t love you.

bash自动补全忽略大小写

当目录名以大写字母开头时,通过cd命令进入该目录就不太方便,需要输入大写字母才能自动补全对应的目录,如果可以忽略大小写的话,就好了。

针对当前用户:

~/.inputrc中添加

1
set completion-ignore-case on

如果不存在该文件就自行创建一个,然后重新打开一个shell就可以了

针对全局(对所有用户都生效):

需要在 /etc/inputrc 文件中增加相同的配置,具体文件路径为/etc/inputrc

either I will find a way, or I will make one.