From 743fba2cce08ce17c750d967ccd7887e2647eec8 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 11 Jul 2018 15:29:19 -0700 Subject: [PATCH] .bashrc.d/20nobeep: Add missing ~/ prefix to one .mozilla path So we can still find the file even when running from a directory other than ~. --- src/.bashrc.d/20nobeep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.bashrc.d/20nobeep b/src/.bashrc.d/20nobeep index e6587ed..5ac0e95 100644 --- a/src/.bashrc.d/20nobeep +++ b/src/.bashrc.d/20nobeep @@ -12,7 +12,7 @@ fi # turn off beeps in Firefox if [ -f ~/.mozilla/firefox/profiles.ini ]; then - for PROFILE in $(sed -n 's/Path=//p' .mozilla/firefox/profiles.ini); do + for PROFILE in $(sed -n 's/Path=//p' ~/.mozilla/firefox/profiles.ini); do PREFERENCES=~/.mozilla/firefox/"${PROFILE}"/user.js if [ -f "${PREFERENCES}" ]; then if grep accessibility.typeaheadfind.enablesound "${PREFERENCES}" >/dev/null; then -- 2.26.2