Last active
October 22, 2024 22:08
-
-
Save RBFraphael/3f407c5910f152d1b10d27c3eb300e69 to your computer and use it in GitHub Desktop.
Add Visual Studio Code as option for opening folders in Linux distributions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sed -i '/MimeType/c\MimeType=text/plain;inode/directory;application/x-code-workspace;' /usr/share/applications/code.desktop | |
update-desktop-database |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment