-
Notifications
You must be signed in to change notification settings - Fork 1
Maxim Chervonny edited this page Nov 29, 2012
·
1 revision
$ rndy -d <domain name> [-u <username>] [-p password] [-c <count>] [-o]
Than master-password promted.
Default username is fiskus, default symbol's count is 20.
Final password will be set to clipboard (xclip needed)
Dependencies: zsh, Firefox with Pentadactyl or Vimperator
Make symbolic link for this script and add to $PATH
$ mkdir bin
$ ln reps/rndy/core/rndy bin/rndy
$ echo 'export PATH=$PATH:$HOME/bin/' >> ~/.zshrc
Add aliases for your domain from .config.ini:
alias rndy-livejournal='rndy -d livejournal.com'
alias rndy-twitter='rndy -d twitter.com'
alias rndy-github='rndy -d github.com'
and so on.
Add following to your ~/.pentadacylrc:
command -nargs=1 -description='generate password for site' -complete custom,'[
\["livejournal.com"],
\["twitter.com"],
\["github.com"]
\rndy ! rndy -d <args>
execute :source .pentadactylrc to load updated config, type command :rndy and press Space. You will see completion list with your sites where you need passwords. Passwords should be previously generated in pairs.