[visual-studio-code-bin] Fix newline handling in code-flags.conf, sync
.desktop files with upstream
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="$(sed 's/#.*//' $XDG_CONFIG_HOME/code-flags.conf)"
|
||||
CODE_USER_FLAGS="$(sed 's/#.*//' $XDG_CONFIG_HOME/code-flags.conf | tr '\n' ' ')"
|
||||
fi
|
||||
|
||||
# Launch
|
||||
|
||||
Reference in New Issue
Block a user