Browse Source

fix ksh ftp wrapper so argvs aren't split before passing; making

urls with spaces work.  ok sthen@
OPENBSD_4_7
martynas 15 years ago
parent
commit
f4f95da364
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/ksh.kshrc

+ 2
- 2
src/etc/ksh.kshrc View File

@ -1,5 +1,5 @@
: :
# $OpenBSD: ksh.kshrc,v 1.13 2008/08/24 15:22:08 jmc Exp $
# $OpenBSD: ksh.kshrc,v 1.14 2009/08/07 09:05:24 martynas Exp $
# #
# NAME: # NAME:
# ksh.kshrc - global initialization for ksh # ksh.kshrc - global initialization for ksh
@ -98,7 +98,7 @@ case "$-" in
alias stripe='label "$USER@$HOST ($tty) - $PWD"' alias stripe='label "$USER@$HOST ($tty) - $PWD"'
alias istripe='ilabel "$USER@$HOST ($tty)"' alias istripe='ilabel "$USER@$HOST ($tty)"'
wftp () { ilabel "ftp $*"; "ftp" $*; eval istripe; }
wftp () { ilabel "ftp $*"; "ftp" "$@"; eval istripe; }
wcd () { \cd "$@" && eval stripe; } wcd () { \cd "$@" && eval stripe; }
wssh () wssh ()
{ {


Loading…
Cancel
Save