[pass] Simple password store
Dashamir Hoxha
dashohoxha at gmail.com
Fri Jan 29 10:05:22 CET 2016
With option `-e` it uses readline, which is nicer:
https://github.com/dashohoxha/simple-password-store/commit/e9e4b4c8c3d5e11d4296379fb7e0d996388142bc
However the history of commands does not work (getting the previous command
with the arrow-up).
Also I don't see how to use autocompletion. Any ideas?
On Fri, Jan 29, 2016 at 5:15 AM, Dashamir Hoxha <dashohoxha at gmail.com>
wrote:
> On Thu, Jan 28, 2016 at 9:38 PM, Thomas Levine <_ at thomaslevine.com> wrote:
>
>> This should get you started on the subshell.
>>
>> #!/bin/sh
>> printf pass\>
>> read command
>> echo "You typed '$command'."
>>
>> Then parse $command and pass the arguments to a function.
>>
>> If you assume that arguments contain no spaces and you like
>> living life on the edge, you can just run $command:
>>
>> #!/bin/sh
>> while true; do
>> printf pass\>
>> read command
>> function_that_does_everything $command
>> done
>>
>
> Yes, I like living life on the edge, and it works:
>
> https://github.com/dashohoxha/simple-password-store/commit/81d8b8f35cf50a17307df051e80b179637d6d464
> Thanks.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20160129/b3a8cc9f/attachment.html>
More information about the Password-Store
mailing list