mirror of
https://github.com/archlinux/aur.git
synced 2026-02-13 03:21:27 +01:00
11 lines
320 B
Bash
11 lines
320 B
Bash
#!/bin/bash
|
|
|
|
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)"
|
|
fi
|
|
|
|
# Launch
|
|
exec /opt/visual-studio-code-insiders/bin/code-insiders $CODE_USER_FLAGS "$@"
|