[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: shells & re: profile



On 12-Feb-99 tuvia beker wrote:

>  On Thu, 11 Feb 1999, Evgeny Stambulchik wrote:
>  
> > wine - *.exe and .com in the specially defined $WINPATH etc. With a bit of
> > tweaking, you can make rcp hostname: autocomplete even the _remote_ path...
>  
>  Would you care to elaborate on that a little. This is a feature I'd love
>  to have.

complete rcp 'c%*:%`set q=$:-0;set q="$q:s/:/ /";set q=($q " "); \
rsh $q[1] ls -dp $q[2]\*`%%' 'C@[./]*@f@'

I believe you'd find this (or very similar) in the examples that come with tcsh.

Enjoy!

Evgeny

   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-934-3610  == | == FAX   : (972)8-934-3491 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny/  |  |
 |  Finger for PGP key >=====================================+  |
 |______________________________________________________________|