diff options
author | archie <archie@FreeBSD.org> | 2001-01-10 02:37:16 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2001-01-10 02:37:16 +0000 |
commit | 776ef1f43089579877329277af83423976a699d2 (patch) | |
tree | b234b0e4b0406ade58caaf5e8333b30a36579614 /etc/root | |
parent | 3726db774df1f59602c4e4d8a310a2a197bb000f (diff) | |
download | FreeBSD-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.cshrc | 5 |
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 |