#!/usr/bin/env bash for i in ~/.mozilla/firefox/*.*default* do ln -s "$XDG_CONFIG_HOME"/firefox/user.js "$i/user.js" done