From: W. Trevor King Date: Wed, 11 Jul 2018 22:29:19 +0000 (-0700) Subject: .bashrc.d/20nobeep: Add missing ~/ prefix to one .mozilla path X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=dotfiles-public.git .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 ~. --- 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