Monday, July 15, 2013

bash: tab-completion case insensitive

習慣一直戳 [Tab] 是大家的好習慣 (?)

但是要按 shift 實在是很麻煩,於是乎

$ sudo vim /etc/inputrc
set completion-ignore-case on


$ man bash
completion-ignore-case (off)
If set to On, readline performs filename matching and completion in a case-insensitive fashion.


No comments:

Post a Comment