aboutsummaryrefslogtreecommitdiff
path: root/install-win.cmd
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2026-07-23 10:00:34 +0200
committerThomas Schmucker <ts@its1.de>2026-07-23 10:00:34 +0200
commitb504e16f941470d46c0f8495f7ea4368e5d14871 (patch)
treeb920a22930ec8bd158225e10eb4e20e428e8474d /install-win.cmd
parentfe4db25063224c51f9970f2f41d355f60d751b1b (diff)
downloaddotfiles-b504e16f941470d46c0f8495f7ea4368e5d14871.tar.gz
dotfiles-b504e16f941470d46c0f8495f7ea4368e5d14871.tar.bz2
dotfiles-b504e16f941470d46c0f8495f7ea4368e5d14871.zip
windows: install-win.cmd durch install-win.ps1 ersetzt, neovim-dict-win.ps1 ergaenzt
install-win.cmd entfernt, install-win.ps1 (reines PowerShell) uebernimmt dieselbe Aufgabe (Config-Kopie nach %LOCALAPPDATA%\nvim, .gitconfig, config-up2parts, npmrc). Ausserdem bootstrap/neovim-dict-win.ps1 als PowerShell-Pendant zu bootstrap/neovim-dict.sh: laedt die deutschen Rechtschreib-Woerterbuecher nach %LOCALAPPDATA%\nvim-data\site\spell. neovim-windows-setup.md aktualisiert: verweist jetzt durchgehend auf die .ps1-Skripte statt .cmd/Git-Bash, Python-Installationsschritt entfernt (Provider ist deaktiviert), Stolperstein-Liste bereinigt.
Diffstat (limited to 'install-win.cmd')
-rw-r--r--install-win.cmd64
1 files changed, 0 insertions, 64 deletions
diff --git a/install-win.cmd b/install-win.cmd
deleted file mode 100644
index 007516d..0000000
--- a/install-win.cmd
+++ /dev/null
@@ -1,64 +0,0 @@
1@echo off
2setlocal enabledelayedexpansion
3
4rem Windows-natives Pendant zu install.sh.
5rem Kopiert (statt zu verlinken) die relevanten Konfigurationen an ihre
6rem nativen Windows-Zielorte. install.sh bleibt unveraendert; dieses
7rem Skript ist bewusst eigenstaendig, da FreeBSD/macOS und Windows zu
8rem unterschiedlich sind fuer eine gemeinsame Installationsroutine.
9rem
10rem Hinweis: Nach Aenderungen an nvim/ oder git/ dieses Skript erneut
11rem ausfuehren, um die Kopien zu aktualisieren (keine Symlinks).
12
13set "SCRIPT_DIR=%~dp0"
14
15set "NVIM_SRC=%SCRIPT_DIR%nvim"
16set "NVIM_DST=%LOCALAPPDATA%\nvim"
17
18set "GIT_CONFIG_SRC=%SCRIPT_DIR%git\config"
19set "GIT_CONFIG_DST=%USERPROFILE%\.gitconfig"
20
21set "GIT_UP2PARTS_SRC=%SCRIPT_DIR%git\config-up2parts"
22set "GIT_XDG_DIR=%USERPROFILE%\.config\git"
23set "GIT_UP2PARTS_DST=%GIT_XDG_DIR%\config-up2parts"
24
25set "NPMRC_SRC=%SCRIPT_DIR%npm\npmrc"
26set "NPMRC_DST=%USERPROFILE%\.npmrc"
27
28echo === nvim ===
29robocopy "%NVIM_SRC%" "%NVIM_DST%" /MIR /NFL /NDL /NJH /NJS >nul
30if %ERRORLEVEL% GEQ 8 (
31 echo Fehler: nvim-Konfiguration konnte nicht nach "%NVIM_DST%" kopiert werden.
32 exit /b 1
33)
34echo OK: %NVIM_DST%
35
36echo === git ===
37copy /Y "%GIT_CONFIG_SRC%" "%GIT_CONFIG_DST%" >nul
38if errorlevel 1 (
39 echo Fehler: git-Konfiguration konnte nicht nach "%GIT_CONFIG_DST%" kopiert werden.
40 exit /b 1
41)
42echo OK: %GIT_CONFIG_DST%
43
44if not exist "%GIT_XDG_DIR%" mkdir "%GIT_XDG_DIR%"
45copy /Y "%GIT_UP2PARTS_SRC%" "%GIT_UP2PARTS_DST%" >nul
46if errorlevel 1 (
47 echo Fehler: config-up2parts konnte nicht nach "%GIT_UP2PARTS_DST%" kopiert werden.
48 exit /b 1
49)
50echo OK: %GIT_UP2PARTS_DST% ^(wird per includeIf aus .gitconfig eingebunden^)
51
52echo === npm ===
53if exist "%NPMRC_DST%" (
54 echo Uebersprungen: %NPMRC_DST% existiert bereits.
55) else (
56 copy /Y "%NPMRC_SRC%" "%NPMRC_DST%" >nul
57 echo OK: %NPMRC_DST%
58)
59
60echo.
61echo Fertig. Dateien wurden KOPIERT, nicht verlinkt.
62echo Nach Aenderungen im Repo dieses Skript erneut ausfuehren.
63
64endlocal