From 6d6cb1e0c2d7ffd4eeffd180d622aff0b4be509a Mon Sep 17 00:00:00 2001 From: Chad Ostrowski Date: Sun, 20 Sep 2015 20:01:31 -0400 Subject: [PATCH] Add inputrc and ignore case when tab completing --- inputrc | 6 ++++++ setup.sh | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 inputrc diff --git a/inputrc b/inputrc new file mode 100644 index 0000000..96f94e2 --- /dev/null +++ b/inputrc @@ -0,0 +1,6 @@ +set page-completions on +set completion-ignore-case on +set completion-query-items 200 +set show-all-if-ambiguous on +set show-all-if-unmodified on +set visible-stats on diff --git a/setup.sh b/setup.sh index c31b738..2ae91be 100755 --- a/setup.sh +++ b/setup.sh @@ -67,6 +67,7 @@ echo "$NICK" > $USER_DIR/$USER/.machine_nickname ln -fns $SRC/bash/bashrc $USER_DIR/$USER/.bashrc ln -fns $SRC/bash/bash_profile $USER_DIR/$USER/.bash_profile ln -fns $SRC/bash/functions $USER_DIR/$USER/.functions +ln -fns $SRC/inputrc $USER_DIR/$USER/.inputrc cp -f $SRC/git/gitconfig $USER_DIR/$USER/.gitconfig ln -fns $SRC/git/gitignore $USER_DIR/$USER/.gitignore @@ -92,7 +93,7 @@ ln -fns $SRC/bin/kt $USER_DIR/$USER/bin/kt if [ -z $QUIET ]; then echo "Success! Check it out:" - ls -ld $USER_DIR/$USER/.machine_nickname $USER_DIR/$USER/.bashrc $USER_DIR/$USER/.bash_profile $USER_DIR/$USER/.functions $USER_DIR/$USER/.gitconfig $USER_DIR/$USER/.gitignore $USER_DIR/$USER/.vim-tmp $USER_DIR/$USER/.vimrc $USER_DIR/$USER/.ackrc $USER_DIR/$USER/.agignore $USER_DIR/$USER/.tmux.conf $USER_DIR/$USER/.gemrc $USER_DIR/$USER/bin/ts $USER_DIR/$USER/bin/t $USER_DIR/$USER/bin/kt + ls -ld $USER_DIR/$USER/.machine_nickname $USER_DIR/$USER/.bashrc $USER_DIR/$USER/.bash_profile $USER_DIR/$USER/.functions $USER_DIR/$USER/.inputrc $USER_DIR/$USER/.gitconfig $USER_DIR/$USER/.gitignore $USER_DIR/$USER/.vim-tmp $USER_DIR/$USER/.vimrc $USER_DIR/$USER/.ackrc $USER_DIR/$USER/.agignore $USER_DIR/$USER/.tmux.conf $USER_DIR/$USER/.gemrc $USER_DIR/$USER/bin/ts $USER_DIR/$USER/bin/t $USER_DIR/$USER/bin/kt echo " Notice that .gitconfig is not symlinked, since your git username is set in .extra (see readme)" fi