Windows Terminal Özelleştirmesi
Windows tarafındaki terminal ortamımı toparlayan tek referans yazısı. PowerShell 7, Starship, zoxide, fzf, fastfetch ve Windows Terminal ayarlarını kapsıyor.
Kurulum Komutları
Admin PowerShell (winget) ile kurulum:
winget install --id Microsoft.PowerShell -e
winget install --id Starship.Starship -e
winget install --id ajeetdsouza.zoxide -e
winget install --id junegunn.fzf -e
winget install --id Fastfetch-cli.Fastfetch -e
winget install --id Git.Git -e
winget install --id DEVCOM.JetBrainsMonoNerdFont -eEk PowerShell modülü:
Install-Module -Name PSFzf -Scope CurrentUser -ForcePowerShell Profili ($PROFILE)
if (Get-Command fastfetch -ErrorAction SilentlyContinue) { fastfetch }
Invoke-Expression (&starship init powershell)
Invoke-Expression (& { (zoxide init powershell | Out-String) })
Set-PSReadLineOption -PredictionSource HistoryAndPlugin
Set-PSReadLineOption -PredictionViewStyle ListView
Set-PSReadLineOption -EditMode Windows
Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete
Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward
if (Get-Module -ListAvailable -Name PSFzf) {
Import-Module PSFzf
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+t' -PSReadlineChordReverseHistory 'Ctrl+r'
}
Set-Alias ll Get-ChildItem
Set-Alias g git
function .. { Set-Location .. }
function ... { Set-Location ../.. }
function gs { git status }
function gl { git log --oneline --graph --decorate -20 }Windows Terminal settings.json (Önemli Kısımlar)
| Ayar | Değer |
|---|---|
| Font | JetBrainsMono Nerd Font, 11pt |
| Padding | "12, 12" |
| Saydamlık | useAcrylic: true, opacity: 88 |
| Renk Şeması | Tokyo Night |
| Varsayılan Profil | PowerShell 7 |
| Başlangıç Dizini | %USERPROFILE%\Documents\Obsidian |
Profiller
- PowerShell 7
- Ubuntu WSL
- Git Bash
Tokyo Night Renk Şeması
| Renk | Değer |
|---|---|
| Background | #1A1B26 |
| Foreground | #A9B1D6 |
Kısayol Bindingleri
| Kısayol | İşlem |
|---|---|
Ctrl+Shift+D | Dikey panel bölme |
Ctrl+Shift+E | Yatay panel bölme |
Alt+Ok | Paneller arası geçiş |
Ctrl+Shift+W | Paneli kapat |
Ctrl+Shift+T | Yeni sekme |
Ctrl+Shift+F | Bul |
Starship Konfigürasyonu (~/.config/starship.toml)
add_newline = true
format = """
[╭─](bold blue) $username$hostname$directory$git_branch$git_status$cmd_duration
[╰─](bold blue)$character """
[character]
success_symbol = "[➜](bold green)"
error_symbol = "[✗](bold red)"
[directory]
truncation_length = 3
truncate_to_repo = true
style = "bold cyan"
[git_branch]
symbol = " "
style = "bold purple"
[git_status]
style = "bold yellow"
[cmd_duration]
min_time = 500
format = " took [$duration](bold yellow)"Fastfetch Konfigürasyonu (~/.config/fastfetch/config.jsonc)
Terminal açılışında Windows 11 logosu ve sistem bilgilerini gösterir. İlk kurulumda önce fastfetch --gen-config komutu çalıştırılmalı.
{
"logo": {
"source": "windows11",
"padding": { "top": 1, "right": 3 }
},
"modules": [
"title", "separator", "os", "host", "kernel", "uptime",
"packages", "shell", "display", "terminal", "cpu", "gpu",
"memory", "disk", "battery", "locale", "break", "colors"
]
}Özellikler ve Kısayollar
- Terminal açılışı: Windows 11 logosu + sistem bilgileri (fastfetch ile)
- Akıllı klasör atlama:
z projekomutuyla zoxide - Fuzzy geçmiş arama:
Ctrl+R - Geçmiş navigasyonu: Yukarı/aşağı ok tuşları
- Tab tamamlama: Menu listesi olarak
- Git durumu: Prompt içinde anlık gösterim
- Komut süresi: 500ms üzeri komutlarda otomatik gösterim
İlgili yazılar
- Windows 11 Kurulum ve Optimizasyon — bu terminal setup’ının üzerine kurulduğu Windows kurulumu
- Fish’ten Zsh’e Geçiş ve Catppuccin Macchiato Setup’ı — aynı kurulumun Linux tarafı (Starship + fzf konfigürasyonları örtüşüyor)