Skip to content

Instantly share code, notes, and snippets.

@echristopherson
Created November 17, 2010 06:40
Show Gist options
  • Save echristopherson/703071 to your computer and use it in GitHub Desktop.
Save echristopherson/703071 to your computer and use it in GitHub Desktop.
# Problematic .inputrc
# Problem occurs with GNU bash, version 3.2.48(1)-release (i386-apple-darwin10.0) (Mac OS X 10.6)
"\e\e[A": beginning-of-line
"\e\e[B": end-of-line
"\e\e[C": forward-word
"\e\e[D": backward-word
"\e(": kill-word
Tab: menu-complete
"\el": redraw-current-line
# These are switched from default
#"\e\C-?": backward-kill-word
#"\e\C-h": backward-kill-word
#"\C-w": unix-word-rubout
"\C-w": backward-kill-word
"\e\C-?": unix-word-rubout
"\e\C-h": unix-word-rubout
# These don't actually work for some reason.
# Output of bind -p:
# # backward-kill-word (not bound)
# "\C-w": unix-word-rubout
# "\e\C-h": unix-word-rubout
# "\e\C-?": unix-word-rubout
# Why doesn't this work?
set completion-ignore-case on
set mark-directories off
set match-hidden-files off
set show-all-if-ambiguous on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment