summaryrefslogtreecommitdiffstats
path: root/etc/root
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2001-01-10 02:37:16 +0000
committerarchie <archie@FreeBSD.org>2001-01-10 02:37:16 +0000
commit776ef1f43089579877329277af83423976a699d2 (patch)
treeb234b0e4b0406ade58caaf5e8333b30a36579614 /etc/root
parent3726db774df1f59602c4e4d8a310a2a197bb000f (diff)
downloadFreeBSD-src-776ef1f43089579877329277af83423976a699d2.zip
FreeBSD-src-776ef1f43089579877329277af83423976a699d2.tar.gz
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
Diffstat (limited to 'etc/root')
-rw-r--r--etc/root/dot.cshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc
index 35fdbfb..8469eba 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
OpenPOWER on IntegriCloud