From 64ca32560de33b7d9e93ef9a226362c7dd105101 Mon Sep 17 00:00:00 2001 From: Archie Cobbs 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 35fdbfbfc61..8469eba868c 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