Skip to content

Commit

Permalink
fix: 🐛 fix wezterm loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaquero committed Oct 3, 2024
1 parent 80c55e0 commit c95d246
Show file tree
Hide file tree
Showing 2 changed files with 339 additions and 309 deletions.
8 changes: 4 additions & 4 deletions defaults.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ $Global:OX_ELEMENT.g = "$HOME\.gitconfig"
# terminal
##########################################################

if ( Test-Path "$HOME\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json" ) {
$Global:OX_ELEMENT.wt = "$HOME\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json"
$Global:OX_ELEMENT.wt = "$HOME\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json"
if ( Test-Path $Global:OX_ELEMENT.wt ) {
$Global:OX_OXIDE.bkwt = "$env:OX_BACKUP\terminal\windows-terminal.jsonc"
}
else {
if ( !(Test-Path "$HOME\.wezterm.lua") ) {
$Global:OX_ELEMENT.wz = "$HOME\.wezterm.lua"
$Global:OX_ELEMENT.wz = "$HOME\.wezterm.lua"
if ( !(Test-Path $Global:OX_ELEMENT.wz) ) {
New-Item -Path $Global:OX_ELEMENT.wz -ItemType File
}
$Global:OX_OXIDE.bkwz = "$env:OX_BACKUP\terminal\wezterm.lua"
Expand Down
Loading

0 comments on commit c95d246

Please sign in to comment.