dotfiles/home/user/.local/bin/vim_askpass_helper
2023-11-10 16:43:45 +03:00

3 lines
164 B
Bash
Executable File

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