Skip to content

Instantly share code, notes, and snippets.

@r3b311i0n
Created June 1, 2018 05:17
Show Gist options
  • Save r3b311i0n/ba826a5380d8c23038c3ad5fa8d85ab9 to your computer and use it in GitHub Desktop.
Save r3b311i0n/ba826a5380d8c23038c3ad5fa8d85ab9 to your computer and use it in GitHub Desktop.
For custom flag support (from AUR).
#!/bin/bash
# Allow users to override command-line options
if [[ -f ~/.config/chrome-flags.conf ]]; then
CHROME_USER_FLAGS="$(cat ~/.config/chrome-flags.conf)"
fi
# Launch
exec /opt/google/chrome/google-chrome $CHROME_USER_FLAGS "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment