[visual-studio-code-bin] Allow commenting out flags
This closes https://github.com/dcelasun/pkgbuilds/pull/7
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user