The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Article Feedback - scp tricks
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 zsh has Filename Completion for scp/rcp
Author: Stephen Roome 
Date:   02-04-03 10:31

Once you've copied your keys about so that you don't need
passwords (hey that's really not very secure though!) then you can get filename completion for scp with zsh.

If you installed zsh from the ports collection and your fpath
variable is properly configured then you should be able to do:

autoload -U compinit
compinit

then try scp user@host:<TAB>

Don't look as surprised as I did though, I found it by accident!

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 zsh has Filename Completion for scp/rcp   new
Stephen Roome 02-04-03 10:31 
 OOPS: Re: zsh has Filename Completion for scp/rcp   new
Stephen Roome 02-04-03 10:33 
 Re: zsh has Filename Completion for scp/rcp   new
Dan Langille 02-04-03 12:11 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org