Browse Source

add ssh to the list of apps to 'cleanup titles afterwards' when used with an

xterm or equivalent
OPENBSD_2_8
todd 24 years ago
parent
commit
426984c2e9
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      src/etc/ksh.kshrc

+ 8
- 1
src/etc/ksh.kshrc View File

@ -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: # NAME:
# ksh.kshrc - global initialization for ksh # ksh.kshrc - global initialization for ksh
@ -100,6 +100,12 @@ case "$-" in
wftp () { ilabel "ftp $*"; "ftp" $*; eval istripe; } wftp () { ilabel "ftp $*"; "ftp" $*; eval istripe; }
wcd () { \cd "$@"; eval stripe; } wcd () { \cd "$@"; eval stripe; }
wssh ()
{
"ssh" "$@"
eval istripe
eval stripe
}
wtelnet () wtelnet ()
{ {
"telnet" "$@" "telnet" "$@"
@ -121,6 +127,7 @@ case "$-" in
alias su=wsu alias su=wsu
alias cd=wcd alias cd=wcd
alias ftp=wftp alias ftp=wftp
alias ssh=wssh
alias telnet=wtelnet alias telnet=wtelnet
alias rlogin=wrlogin alias rlogin=wrlogin
eval stripe eval stripe


Loading…
Cancel
Save