diff options
author | Christian Heusel | 2023-06-02 12:09:42 +0200 |
---|---|---|
committer | Christian Heusel | 2023-06-02 12:09:42 +0200 |
commit | 2aa5620cd1323cc8c88d8ab80f3abd052af8cf96 (patch) | |
tree | bbbc84fdf33cf91d117fa2caedd805bea291a485 /google-chrome-stable.sh | |
parent | 284c294c40f4c86daae0f1b88bbeb3b80315fee8 (diff) | |
download | aur-2aa5620cd1323cc8c88d8ab80f3abd052af8cf96.tar.gz |
ignore comments in the flags
Diffstat (limited to 'google-chrome-stable.sh')
-rw-r--r-- | google-chrome-stable.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/google-chrome-stable.sh b/google-chrome-stable.sh index 3405ad70a2c6..3bc963edc436 100644 --- a/google-chrome-stable.sh +++ b/google-chrome-stable.sh @@ -4,8 +4,8 @@ XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config} # Allow users to override command-line options if [[ -f $XDG_CONFIG_HOME/chrome-flags.conf ]]; then - CHROME_USER_FLAGS="$(cat $XDG_CONFIG_HOME/chrome-flags.conf)" + CHROME_USER_FLAGS="$(grep -v '^#' $XDG_CONFIG_HOME/chrome-flags.conf)" fi # Launch -exec /opt/google/chrome/google-chrome $CHROME_USER_FLAGS "$@"
\ No newline at end of file +exec /opt/google/chrome/google-chrome $CHROME_USER_FLAGS "$@" |