summaryrefslogtreecommitdiffstats
path: root/share/skel
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2001-01-10 17:35:28 +0000
committerarchie <archie@FreeBSD.org>2001-01-10 17:35:28 +0000
commite843a8788253973856c439a59a656b10903ce414 (patch)
tree214186a13a190d0fb19cd654f442e249cab07e6b /share/skel
parenta45dd3f68d221d7d0d344a1e7fc8f6a46d632a25 (diff)
downloadFreeBSD-src-e843a8788253973856c439a59a656b10903ce414.zip
FreeBSD-src-e843a8788253973856c439a59a656b10903ce414.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 'share/skel')
-rw-r--r--share/skel/dot.cshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc
index 2513da9..89993ec 100644
--- a/share/skel/dot.cshrc
+++ b/share/skel/dot.cshrc
@@ -26,4 +26,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