[visual-studio-code-bin] Allow commenting out flags

This closes https://github.com/dcelasun/pkgbuilds/pull/7
This commit is contained in:
D. Can Celasun
2022-03-15 18:22:29 +00:00
parent 3c764f6cf7
commit 719315c259
3 changed files with 3 additions and 3 deletions

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/code-flags.conf ]]; then
CODE_USER_FLAGS="$(cat $XDG_CONFIG_HOME/code-flags.conf)"
CODE_USER_FLAGS="$(sed 's/#.*//' $XDG_CONFIG_HOME/code-flags.conf)"
fi
# Launch