윈도우11에서 테스틑 완료

This commit is contained in:
mcchae committed 2026-05-13 07:09:56 +09:00
1 parent dd494a4991
commit 57bdbfb575
5 files changed
+30 -166

No files matched your search

+18 -28
View File
@@ -23,29 +23,19 @@ curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-lazy
### Windows ### Windows
**PowerShell** (관리자 권한 권장): **PowerShell**:
bottom: bottom:
```powershell ```powershell
powershell -c "iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-bottom.ps1'|iex" powershell -ExecutionPolicy Bypass -c "$t=\"$env:TEMP\install-bottom.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-bottom.ps1' -OutFile $t; & $t"
``` ```
lazygit: lazygit:
```powershell ```powershell
powershell -c "iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-lazygit.ps1'|iex" powershell -ExecutionPolicy Bypass -c "$t=\"$env:TEMP\install-lazygit.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-lazygit.ps1' -OutFile $t; & $t"
``` ```
**CMD** (기본 명령 프롬프트):
bottom:
```cmd
curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-bottom.bat" -o install.bat && install.bat
```
lazygit:
```cmd
curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-lazygit.bat" -o install.bat && install.bat
```
## 도구별 사용법 ## 도구별 사용법
@@ -62,13 +52,13 @@ curl -fsSL "https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-lazy
btm btm
``` ```
| 단축키 | 동작 | | 단축키 | 동작 |
|--------|------| | ----------- | -------------------- |
| `q` / `Esc` | 종료 | | `q` / `Esc` | 종료 |
| `F1` ~ `F5` | 탭 전환 | | `F1` ~ `F5` | 탭 전환 |
| `↑` `↓` | 프로세스 선택 | | `↑` `↓` | 프로세스 선택 |
| `k` | 선택한 프로세스 종료 | | `k` | 선택한 프로세스 종료 |
| `/` | 검색 | | `/` | 검색 |
### lazygit ### lazygit
@@ -83,14 +73,14 @@ Git을 위한 터미널 UI 도구입니다.
lazygit lazygit
``` ```
| 단축키 | 동작 | | 단축키 | 동작 |
|--------|------| | --------------- | ------------------ |
| `q` | 종료 | | `q` | 종료 |
| `↓` `↑` `→` `←` | 화면 간 이동 | | `↓` `↑` `→` `←` | 화면 간 이동 |
| `Space` | 파일 Stage/Unstage | | `Space` | 파일 Stage/Unstage |
| `c` | 커밋 작성 | | `c` | 커밋 작성 |
| `P` `p` | Push / Pull | | `P` `p` | Push / Pull |
| `?` | 도움말 | | `?` | 도움말 |
--- ---
-69
View File
@@ -1,69 +0,0 @@
@echo off
:: ============================================================
:: install-bottom.bat
:: Install script for bottom(btm) process monitor (Windows batch)
::
:: This file calls the PowerShell script (install-bottom.ps1).
:: PowerShell 5.1 or higher is required (included in Windows 10/11).
::
:: Usage:
:: install-bottom.bat
:: install-bottom.bat "C:\tools\bin" <- specify install path
:: ============================================================
:: ── Switch to UTF-8 codepage ──
chcp 65001 >nul
setlocal EnableDelayedExpansion
echo [INFO] install-bottom.bat started
:: ── Check if PowerShell exists ────────────────────────────────
where powershell >nul 2>&1
if %ERRORLEVEL% neq 0 (
echo [ERROR] PowerShell not found.
echo PowerShell is included in Windows 7 and later.
pause
exit /b 1
)
:: ── Check location of install-bottom.ps1 in same folder ──
set "PS1_PATH=%~dp0install-bottom.ps1"
if not exist "%PS1_PATH%" (
echo [ERROR] install-bottom.ps1 not found.
echo install-bottom.ps1 must be in the same folder as this batch file.
echo Location: %PS1_PATH%
pause
exit /b 1
)
:: ── Process install path parameter ────────────────────────────────
set "EXTRA_ARGS="
if not "%~1"=="" (
set "EXTRA_ARGS=-InstallDir ""%~1"""
echo [INFO] Install path specified: %~1
)
echo [INFO] Running PowerShell script...
echo.
:: ── Run PowerShell ─────────────────────────────────────────
:: -ExecutionPolicy Bypass : Bypass execution policy (no user config change)
:: -NoProfile : Skip profile loading (faster startup)
:: -NonInteractive : Suppress interactive prompts
powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive ^
-File "%PS1_PATH%" %EXTRA_ARGS%
set "PS_EXIT=%ERRORLEVEL%"
echo.
if %PS_EXIT% equ 0 (
echo [INFO] Installation complete.
echo Open a new terminal (cmd/PowerShell) to use the 'btm' command.
) else (
echo [ERROR] An error occurred during installation. (Exit code: %PS_EXIT%)
)
echo.
pause
exit /b %PS_EXIT%
+6
View File
@@ -23,6 +23,12 @@
.\install-bottom.ps1 -InstallDir "C:\tools\bin" .\install-bottom.ps1 -InstallDir "C:\tools\bin"
.\install-bottom.ps1 -AddToPath $false .\install-bottom.ps1 -AddToPath $false
# One-liner install from remote (download then run; -ExecutionPolicy Bypass for current process only):
powershell -ExecutionPolicy Bypass -c "$t=\"$env:TEMP\install-bottom.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-bottom.ps1' -OutFile $t; & $t"
# With parameters:
powershell -ExecutionPolicy Bypass -c "$t=\"$env:TEMP\install-bottom.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-bottom.ps1' -OutFile $t; & $t -InstallDir 'C:\tools\bin'"
.NOTES .NOTES
If execution policy error occurs: If execution policy error occurs:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
-69
View File
@@ -1,69 +0,0 @@
@echo off
:: ============================================================
:: install-lazygit.bat
:: Install script for lazygit terminal UI for git (Windows batch)
::
:: This file calls the PowerShell script (install-lazygit.ps1).
:: PowerShell 5.1 or higher is required (included in Windows 10/11).
::
:: Usage:
:: install-lazygit.bat
:: install-lazygit.bat "C:\tools\bin" <- specify install path
:: ============================================================
:: ── Switch to UTF-8 codepage ──
chcp 65001 >nul
setlocal EnableDelayedExpansion
echo [INFO] install-lazygit.bat started
:: ── Check if PowerShell exists ────────────────────────────────
where powershell >nul 2>&1
if %ERRORLEVEL% neq 0 (
echo [ERROR] PowerShell not found.
echo PowerShell is included in Windows 7 and later.
pause
exit /b 1
)
:: ── Check location of install-lazygit.ps1 in same folder ──
set "PS1_PATH=%~dp0install-lazygit.ps1"
if not exist "%PS1_PATH%" (
echo [ERROR] install-lazygit.ps1 not found.
echo install-lazygit.ps1 must be in the same folder as this batch file.
echo Location: %PS1_PATH%
pause
exit /b 1
)
:: ── Process install path parameter ────────────────────────────────
set "EXTRA_ARGS="
if not "%~1"=="" (
set "EXTRA_ARGS=-InstallDir ""%~1"""
echo [INFO] Install path specified: %~1
)
echo [INFO] Running PowerShell script...
echo.
:: ── Run PowerShell ─────────────────────────────────────────
:: -ExecutionPolicy Bypass : Bypass execution policy (no user config change)
:: -NoProfile : Skip profile loading (faster startup)
:: -NonInteractive : Suppress interactive prompts
powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive ^
-File "%PS1_PATH%" %EXTRA_ARGS%
set "PS_EXIT=%ERRORLEVEL%"
echo.
if %PS_EXIT% equ 0 (
echo [INFO] Installation complete.
echo Open a new terminal (cmd/PowerShell) to use the 'lazygit' command.
) else (
echo [ERROR] An error occurred during installation. (Exit code: %PS_EXIT%)
)
echo.
pause
exit /b %PS_EXIT%
+6
View File
@@ -23,6 +23,12 @@
.\install-lazygit.ps1 -InstallDir "C:\tools\bin" .\install-lazygit.ps1 -InstallDir "C:\tools\bin"
.\install-lazygit.ps1 -AddToPath $false .\install-lazygit.ps1 -AddToPath $false
# One-liner install from remote (download then run; -ExecutionPolicy Bypass for current process only):
powershell -ExecutionPolicy Bypass -c "$t=\"$env:TEMP\install-lazygit.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-lazygit.ps1' -OutFile $t; & $t"
# With parameters:
powershell -ExecutionPolicy Bypass -c "$t=\"$env:TEMP\install-lazygit.ps1\"; iwr -useb 'https://gl.isitsoft.kr/publicproj/install-sh/-/raw/main/install-lazygit.ps1' -OutFile $t; & $t -InstallDir 'C:\tools\bin'"
.NOTES .NOTES
If execution policy error occurs: If execution policy error occurs:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser