This commit is contained in:
Michael H.G. Schmidt 2024-01-31 15:26:09 +01:00
parent 0230d8f9d1
commit 191bbf08b1

View File

@ -539,10 +539,15 @@ if "%HOMEDRIVE%%HOMEPATH%" NEQ "%USERPROFILE%" (
echo Setting up SSH client config for the domain drive ...
mkdir "%HOMEDRIVE%\%HOMEPATH%"\.ssh 1>nul 2>nul
copy /Y %TOOLS%\scripts\config\ssh-config.txt "%HOMEDRIVE%%HOMEPATH%"\.ssh\config 1>nul 2>nul
if NOT EXIST "%HOMEDRIVE%%HOMEPATH%"\.ssh\config (
copy /Y %TOOLS%\scripts\config\ssh-config.txt "%HOMEDRIVE%%HOMEPATH%"\.ssh\config 1>nul 2>nul
)
echo Installing a VIM configuration for the domain drive ...
copy /Y %TOOLS%\scripts\config\vimrc.txt "%HOMEDRIVE%%HOMEPATH%"\.vimrc 1>nul 2>nul
if NOT EXIST "%HOMEDRIVE%%HOMEPATH%"\.vimrc (
copy /Y %TOOLS%\scripts\config\vimrc.txt "%HOMEDRIVE%%HOMEPATH%"\.vimrc 1>nul 2>nul
)
)
echo.