configs  Diff

Differences From Artifact [4c621b900f]:

To Artifact [dd3b047b5a]:


351
352
353
354
355
356
357



358
359
360
361
362
363
364
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367







+
+
+







__has_command url2pkg &&
	alias url2pkg="MAKEFLAGS= url2pkg"

# mpv does not like locales that use , as decimal point.
__has_command mpv && alias mpv="LC_ALL=C mpv"

if __has_command gpg gpg2; then
	# Make sure GPG agent is running.
	gpg --card-status &>/dev/null

	local sock
	if [ -d "$XDG_RUNTIME_DIR/gnupg" ]; then
		sock=$(find $XDG_RUNTIME_DIR/gnupg -name S.gpg-agent.ssh |
		       head -1)
	fi
	[ -n "$sock" ] || sock="$GNUPGHOME/S.gpg-agent.ssh"