diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2009-08-07 09:05:25 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2009-08-07 09:05:25 +0000 |
commit | 6c7f3a7f6f5ac6c8003af096990b5f9411fd1ff8 (patch) | |
tree | 75f7fb4246b5fcd9b9e9bd2bc7e79f03deb560f3 /etc/ksh.kshrc | |
parent | ec4b325b8d68750dd3246455f1aba0399429c366 (diff) |
fix ksh ftp wrapper so argvs aren't split before passing; making
urls with spaces work. ok sthen@
Diffstat (limited to 'etc/ksh.kshrc')
-rw-r--r-- | etc/ksh.kshrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/ksh.kshrc b/etc/ksh.kshrc index 53d72c5d143..2acb6299754 100644 --- a/etc/ksh.kshrc +++ b/etc/ksh.kshrc @@ -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: # ksh.kshrc - global initialization for ksh @@ -98,7 +98,7 @@ case "$-" in alias stripe='label "$USER@$HOST ($tty) - $PWD"' alias istripe='ilabel "$USER@$HOST ($tty)"' - wftp () { ilabel "ftp $*"; "ftp" $*; eval istripe; } + wftp () { ilabel "ftp $*"; "ftp" "$@"; eval istripe; } wcd () { \cd "$@" && eval stripe; } wssh () { |