From 83d46c17204692f27a9f412257ca9e58e1d1f4b1 Mon Sep 17 00:00:00 2001 From: Omer Jakobinsky Date: Tue, 10 Apr 2012 18:33:53 +0100 Subject: [PATCH] Incorrect PATH to Google Chrome's Custom CSS. Missing 'User Stylesheets' folder. On the way: - Changed the directory location to a relative path. - Created a symlink instead of copying the stylesheet. --- chrome/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/install.sh b/chrome/install.sh index 21d67e6..55793fe 100755 --- a/chrome/install.sh +++ b/chrome/install.sh @@ -3,4 +3,5 @@ # http://blog.dotsmart.net/2011/09/30/change-font-size-in-chrome-devtools/ # Use: -cp ~/.yadr/chrome/Custom.css ~/Library/Application\ Support/Google/Chrome/Default/Custom.css +DIR="$( cd "$( dirname "$0" )" && pwd )" +ln -s -f $DIR/Custom.css $HOME/Library/Application\ Support/Google/Chrome/Default/User\ StyleSheets/Custom.css