Skip to content

Getting "expect: option requires..." error #6

Description

@flaugher

When I use vim-sync and type my leader key followed by "su", I get the following error:

expect: option requires an argument -- c    
usage: expect [-div] [-c cmds] [[-f] cmdfile] [args]
shell returned 1.
Press ENTER or type command to continue

I copy-pasted the sftp code as shown into an executable .sync file and then changed "login_name" and the 1.2.3.4 IP address to my login name and the server's IP address.

Any ideas on how to fix this?

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions