fix(vim_askpass_helper): if passwords contains spaces it returns only first piece

This commit is contained in:
TheK4n 2023-01-11 18:46:07 +03:00
parent 41c1bae229
commit 04993a0e51

View File

@ -1,2 +1,2 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo -e "SETTITLE vim\nOPTION default-prompt=[sudo] password for $USER:\nGETPIN" | pinentry-qt --display :0 2>/dev/null | grep ^D | cut -d" " -f2 echo -e "SETTITLE vim\nOPTION default-prompt=[sudo] password for $USER:\nGETPIN" | pinentry-qt --display :0 2>/dev/null | grep ^D | cut -d" " -f2-