Created
August 12, 2022 13:32
-
-
Save barelyhuman/123a18332e541ef1ee09a16bb02970cf to your computer and use it in GitHub Desktop.
hide arrows for an icon them in vscode
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
#!/usr/bin/env bash | |
ext_root="$HOME/.vscode/extensions/" | |
cd $ext_root | |
extension_dir=$(ls . | grep miguelsolorio.symbols) | |
cd $extension_dir | |
jq -n -f ./src/symbol-icon-theme.json | cat > .tmp | |
npx json -I -e "this.hidesExplorerArrows=true;" -f .tmp | |
mv ./src/symbol-icon-theme.json ./src/symbol-icon-theme.json.bak | |
mv .tmp ./src/symbol-icon-theme.json | |
cd - |
also,
you'll need jq
and node
installed since I'm too lazy to write a sed
version.
brew install jq
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
change line
5
togrep <pattern>
to use this for other icon themes, this is currently written for https://marketplace.visualstudio.com/items?itemName=miguelsolorio.symbols