summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortodd <todd@openbsd.org>2000-09-21 17:24:41 +0000
committertodd <todd@openbsd.org>2000-09-21 17:24:41 +0000
commita5a6ea4b4bada69ef24b903b7c90a22066543b60 (patch)
treec7b8dca019d642f9855de6ad520620311117909e
parentfxp driver supports Intel CardBus II cads, but not the older generation. (diff)
downloadwireguard-openbsd-a5a6ea4b4bada69ef24b903b7c90a22066543b60.tar.xz
wireguard-openbsd-a5a6ea4b4bada69ef24b903b7c90a22066543b60.zip
add ssh to the list of apps to 'cleanup titles afterwards' when used with an
xterm or equivalent
-rw-r--r--etc/ksh.kshrc9
1 files changed, 8 insertions, 1 deletions
diff --git a/etc/ksh.kshrc b/etc/ksh.kshrc
index bbe42944558..2b07390648d 100644
--- a/etc/ksh.kshrc
+++ b/etc/ksh.kshrc
@@ -1,5 +1,5 @@
:
-# $OpenBSD: ksh.kshrc,v 1.5 2000/01/27 02:36:06 millert Exp $
+# $OpenBSD: ksh.kshrc,v 1.6 2000/09/21 17:24:41 todd Exp $
#
# NAME:
# ksh.kshrc - global initialization for ksh
@@ -100,6 +100,12 @@ case "$-" in
wftp () { ilabel "ftp $*"; "ftp" $*; eval istripe; }
wcd () { \cd "$@"; eval stripe; }
+ wssh ()
+ {
+ "ssh" "$@"
+ eval istripe
+ eval stripe
+ }
wtelnet ()
{
"telnet" "$@"
@@ -121,6 +127,7 @@ case "$-" in
alias su=wsu
alias cd=wcd
alias ftp=wftp
+ alias ssh=wssh
alias telnet=wtelnet
alias rlogin=wrlogin
eval stripe