Skip to content

Commit

Permalink
revert(vs): code override wasn't handling args properly, dock setting
Browse files Browse the repository at this point in the history
fixed root cause
  • Loading branch information
denolfe committed Sep 7, 2024
1 parent 2a3410e commit 912d833
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions functions/code.override.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ if command -v code >/dev/null 2>&1; then
cat $DOTFILES/vscode/extensions.txt | xargs -L 1 code --install-extension
;;
*)
# Prevent additional vs code icon in dock
# https://github.com/microsoft/vscode/issues/60579#issuecomment-434583718
open -b com.microsoft.VSCode "$@"
command code "$@"
;;
esac
}
Expand Down

0 comments on commit 912d833

Please sign in to comment.