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
using namespace System.Management.Automation | |
using namespace System.Management.Automation.Language | |
# POSH | |
oh-my-posh --init --shell pwsh --config ~/Documents/Powershell/Modules/oh-my-posh/6.14.0/themes/ohmyposhv3-v2.json | Invoke-Expression | |
# Icons for lists of files | |
Import-Module -Name Terminal-Icons | |
# History AutoComplete | |
Import-Module PSReadLine | |
Set-PSReadLineOption -PredictionSource History |
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
import os | |
import shutil | |
import tempfile | |
import logging | |
from PIL import Image | |
import concurrent.futures | |
from math import ceil | |
import sys | |
SUPPORTED_EXT = [ |