#!/usr/bin/env bash

code --list-extensions | sort -f > ~/dotfiles/vscode/extensions.txt
git add ~/dotfiles/vscode/extensions.txt
git commit -m 'Updated VS Code extensions list'
git push

#!/usr/bin/env bash

code --list-extensions | sort -f > ~/dotfiles/vscode/extensions.txt
git reset &> /dev/null
git add ~/dotfiles/vscode/extensions.txt
git commit -m 'Updated VS Code extensions list' 2> /dev/null
git push 2> /dev/null

Add better error-handling to extension export script
Add better error-handling to extension export script
