diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-11-16 01:01:38 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-11-16 03:17:37 -0500 |
commit | c08a8241a1844216bd76ecfe6bb7d20a8edaf00a (patch) | |
tree | 22b06f180c349b2cf5d668b7fa593dbb67412f54 /sh/env | |
parent | e426bc8b2f12746b63f3c14f23ce1785d01e2b77 (diff) | |
download | conf-c08a8241a1844216bd76ecfe6bb7d20a8edaf00a.tar.gz conf-c08a8241a1844216bd76ecfe6bb7d20a8edaf00a.zip |
add a sudo-askpass implementation too
to reduce the number of times i need to type in my password
Diffstat (limited to 'sh/env')
-rw-r--r-- | sh/env | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7,6 +7,10 @@ if [ -x "$ssh" ]; then export GIT_SSH="$ssh" export RSYNC_RSH="$ssh" fi +if type sudo-askpass > /dev/null 2>&1; then + SUDO_ASKPASS=$(command -v sudo-askpass) + export SUDO_ASKPASS +fi export TEXINPUTS=".:$HOME/conf/tex:" export LESS='-QR' export PERL_CPANM_OPT="-q --mirror http://mirrors.kernel.org/cpan/ --mirror http://cpan.metacpan.org/ --prompt" |