From 776ef1f43089579877329277af83423976a699d2 Mon Sep 17 00:00:00 2001 From: archie Date: Wed, 10 Jan 2001 02:37:16 +0000 Subject: [PATCH] Add these key bindings for tcsh users in interactive mode: bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward Reviewed by: -current --- etc/root/dot.cshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc index 35fdbfbfc616..8469eba868c0 100644 --- a/etc/root/dot.cshrc +++ b/etc/root/dot.cshrc @@ -27,4 +27,9 @@ if ($?prompt) then set history = 100 set savehist = 100 set mail = (/var/mail/$USER) + if ( $?tcsh ) then + bindkey "^W" backward-delete-word + bindkey -k up history-search-backward + bindkey -k down history-search-forward + endif endif