Remove redundant content

This commit is contained in:
fpointzero 2024-09-16 15:55:27 +08:00
parent cbb61aec86
commit 70870eaeea

View File

@ -104,30 +104,6 @@ version is **4.3.11**.
endlocal endlocal
``` ```
If you use **windows**, please use this command。
```bat
@echo off
setlocal enabledelayedexpansion
REM YOUR HOME DIR
set "HomeDir=%USERPROFILE%"
set "sourceDir=%HomeDir%\.zprezto\runcoms"
set "linkDir=%HomeDir%"
echo "sourceDir = %sourceDir%"
echo "linkDir = %linkDir%"
if not exist "%linkDir%" mkdir "%linkDir%"
for /R "%sourceDir%" %%F in (*) do (
set "fileName=%%~nxF"
REM echo "filename=!fileName!"
REM echo "F=%%F"
REM pause
if /I not "!fileName!"=="README.md" (
mklink "%linkDir%\.!fileName!" "%%F"
)
)
```
**Note:** If you already have any of the given configuration files, `ln` in **Note:** If you already have any of the given configuration files, `ln` in
the above operation will cause an error. In simple cases, you can load the above operation will cause an error. In simple cases, you can load
Prezto by adding the line `source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"` to Prezto by adding the line `source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"` to