ignore comments in the flags

This commit is contained in:
Christian Heusel 2023-06-02 12:09:42 +02:00
parent 55591e0bac
commit 524a059a1c

View file

@ -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