README updates

This commit is contained in:
Austen Adler 2016-05-23 19:30:56 -04:00
parent 3705b42f86
commit 451680c10c

View File

@ -3,7 +3,8 @@ A sane default firefox profile
## For Mac
```bash
git clone https://austenwares.com/gogs/stonewareslord/firefox-link ~"/Library/Application Support/Firefox/Profiles/firefox-link"
printf '[Profile1]\nName=firefox-link\nIsRelative=1\nPath=Profiles/firefox-link'>>"~/Library/Application Support/Firefox/profiles.ini"
NAME=$RANDOM
git clone https://austenwares.com/gogs/stonewareslord/firefox-link ~"/Library/Application Support/Firefox/Profiles/$NAME"
printf "\n[Profile$((1+$(cat profiles.ini | ag '\[Profile\d+\]' | tail -n1 | sed -e 's/\[Profile//' -e 's/\]//')))]\nName=firefox-link\nIsRelative=1\nPath=Profiles/$NAME">>"~/Library/Application Support/Firefox/profiles.ini"
'/Applications/Firefox.app/Contents/MacOS/firefox -p'
```