Files
wmcv-wezterm-config/install.bat
T
2026-06-24 15:55:34 +02:00

21 lines
517 B
Batchfile

@echo off
if "%1"=="--clean" (
if exist "%USERPROFILE%\.config\wezterm" (
fsutil reparsepoint query "%USERPROFILE%\.config\wezterm" >nul 2>&1
if errorlevel 1 (
echo Deleting existing nvim directory...
rmdir /s /q "%USERPROFILE%\.config\wezterm"
) else (
echo Symlink already exists, skipping clean.
)
)
)
if not exist "%USERPROFILE%\.config\" (
mkdir "%USERPROFILE%\.config\"
)
mklink /J %USERPROFILE%\.config\wezterm .\wezterm
pause