From 524a059a1c7c52be2d9304097edfb603707ed67f Mon Sep 17 00:00:00 2001 From: Christian Heusel Date: Fri, 2 Jun 2023 12:09:42 +0200 Subject: [PATCH] ignore comments in the flags --- google-chrome-unstable.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-chrome-unstable.sh b/google-chrome-unstable.sh index 759f6f8891c37..dbe8b671a6fe6 100644 --- a/google-chrome-unstable.sh +++ b/google-chrome-unstable.sh @@ -4,7 +4,7 @@ XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config} # Allow users to override command-line options if [[ -f $XDG_CONFIG_HOME/chrome-dev-flags.conf ]]; then - CHROME_USER_FLAGS="$(cat $XDG_CONFIG_HOME/chrome-dev-flags.conf)" + CHROME_USER_FLAGS="$(grep -v '^#' $XDG_CONFIG_HOME/chrome-dev-flags.conf)" fi # Launch