Init/Import-Dependencies.ps1

$terminalIconsFolder = [System.IO.Path]::GetDirectoryName((Get-Module Terminal-Icons).path)
$theme         = "devblackops"
$glyphs     = . $terminalIconsFolder/Data/glyphs.ps1
$iconTheme     = Import-PowerShellDataFile "${terminalIconsFolder}/Data/iconThemes/$theme.psd1"
$colorTheme    = Import-PowerShellDataFile "${terminalIconsFolder}/Data/colorThemes/$theme.psd1"

# Dot source private functions
(Get-ChildItem -Path ("$PSScriptRoot/../Private/*.ps1") -Recurse -ErrorAction Stop).ForEach({
    try {
        . $_.FullName
    } catch {
        throw $_
        $PSCmdlet.ThrowTerminatingError("Unable to load [$($import.FullName)]")
    }
})