visual-studio

This commit is contained in:
Ryan Hughes
2026-05-08 01:04:52 -04:00
parent d108413099
commit 7c925d0bb0
6 changed files with 4 additions and 2 deletions
@@ -0,0 +1,11 @@
#!/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 | tr '\n' ' ')"
fi
# Launch
exec /opt/visual-studio-code/bin/code "$@" $CODE_USER_FLAGS