Skip to content

Commit

Permalink
apparently I had partially copied this around, but not put it in here
Browse files Browse the repository at this point in the history
Then I got to go crazy trying to figure out why C-w didn't work on one
computer, despite identical bash configs.
  • Loading branch information
cburroughs committed Sep 21, 2019
1 parent d86c3ee commit 14bc9b5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .inputrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gdb/readline-init-file.html

# This file controls the behaviour of line input editing for
# programs that use the GNU Readline library. Existing
# programs include FTP, Bash, and GDB.
#
# You can re-read the inputrc file with C-x C-r.
# Lines beginning with '#' are comments.
#
# First, include any systemwide bindings and variable
# assignments from /etc/Inputrc
$include /etc/inputrc

# This atleast allows bash bind to make keys do what I want
set bind-tty-special-chars Off

# I can not get these to work. It is crazy.
# The whole reason I have this file is to switch backward-kill-work behavior
#Meta-Rubout: unix-word-rubout
#"\M-w": backward-kill-word

1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ emacs:

bash:
@echo $@
cp -a .inputrc ~
cp -a .bash_custom ~
@if ! `grep -q bash_custom ~/.bashrc`; then \
echo "" >> ~/.bashrc; \
Expand Down

0 comments on commit 14bc9b5

Please sign in to comment.