From ed535a3caca681340bcb7b891f403825e947d17b Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 18 Mar 2023 10:01:46 +0000 Subject: [PATCH] Add case insensitive completion for bash/zsh --- .inputrc | 2 ++ Makefile | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .inputrc diff --git a/.inputrc b/.inputrc new file mode 100644 index 00000000..6699d120 --- /dev/null +++ b/.inputrc @@ -0,0 +1,2 @@ +$include /etc/inputrc +set completion-ignore-case On diff --git a/Makefile b/Makefile index c4715869..ad8311c0 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,7 @@ clean: for link in $(THEMES_TARGETS); do rm "$$link"; done rm -rf $(LAZY_DIR) rm $(HOME)/.profile + rm $(HOME)/.inputrc rm $(HOME)/.bashrc rm $(HOME)/.zshrc rmdir $(HOME)/.ssh/sockets @@ -37,15 +38,16 @@ directories: $(CONFIG_DIR) $(SSH_DIR) $(THEMES_DIR) $(HOME)/.ssh/sockets $(HOME) $(CONFIG_DIR) $(SSH_DIR) $(THEMES_DIR) $(HOME)/.ssh/sockets $(HOME)/.local/bin: mkdir -p $@ -link: $(CONFIG_TARGETS) $(SSH_TARGETS) $(THEMES_TARGETS) $(HOME)/.profile $(HOME)/.bashrc $(HOME)/.zshrc +link: $(CONFIG_TARGETS) $(SSH_TARGETS) $(THEMES_TARGETS) $(HOME)/.profile $(HOME)/.inputrc $(HOME)/.bashrc $(HOME)/.zshrc $(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/% $(SSH_TARGETS): $(SSH_DIR)/%: ssh/% $(THEMES_TARGETS): $(THEMES_DIR)/%: themes/% $(HOME)/.profile: $(HOME)/%: % +$(HOME)/.inputrc: $(HOME)/%: % $(HOME)/.bashrc: $(HOME)/%: % $(HOME)/.zshrc: $(HOME)/%: % -$(CONFIG_TARGETS) $(SSH_TARGETS) $(THEMES_TARGETS) $(HOME)/.profile $(HOME)/.bashrc $(HOME)/.zshrc: +$(CONFIG_TARGETS) $(SSH_TARGETS) $(THEMES_TARGETS) $(HOME)/.profile $(HOME)/.inputrc $(HOME)/.bashrc $(HOME)/.zshrc: ln -s $(PWD)/$? $@ configure: config/git/user_email config/nvim/.venv