mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-01-23 07:52:15 +08:00
Remove redundant content
This commit is contained in:
parent
cbb61aec86
commit
70870eaeea
24
README.md
24
README.md
@ -103,30 +103,6 @@ version is **4.3.11**.
|
||||
|
||||
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
|
||||
the above operation will cause an error. In simple cases, you can load
|
||||
|
Loading…
Reference in New Issue
Block a user