mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-01-23 13:32:16 +08:00
Remove redundant content
This commit is contained in:
parent
cbb61aec86
commit
70870eaeea
24
README.md
24
README.md
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user