-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.ps1
More file actions
101 lines (83 loc) · 3.5 KB
/
Copy pathconfig.example.ps1
File metadata and controls
101 lines (83 loc) · 3.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# ============================================
# oh-my-pwsh Configuration Template
# ============================================
# Copy this file to 'config.ps1' and customize your settings
#
# Installation:
# Copy-Item config.example.ps1 config.ps1
#
# Note: config.ps1 is gitignored so you can update the repo safely
# ============================================
# LINUX COMPATIBILITY
# ============================================
# Enable Linux-style aliases (ls, grep, cat, mkdir, touch, etc.)
$global:OhMyPwsh_EnableLinuxCompat = $true
# ============================================
# ICONS & APPEARANCE
# ============================================
# Use Nerd Font icons instead of Unicode fallbacks
# Requires a Nerd Font installed in your terminal (e.g., FiraCode Nerd Font)
# Download: https://www.nerdfonts.com/
#
# Set to $true if you have Nerd Fonts installed, $false for Unicode fallback
$global:OhMyPwsh_UseNerdFonts = $false
# Custom icon overrides (optional)
# $global:OhMyPwsh_CustomIcons = @{
# success = "✅"
# warning = "⚠️"
# error = "❌"
# }
# ============================================
# ENHANCED TOOLS
# ============================================
# Use modern alternatives when available:
# - bat instead of cat (syntax highlighting)
# - eza instead of ls (modern, colorful)
# - ripgrep (rg) instead of grep (faster)
# - fd instead of find (faster, better UX)
# - delta for git diff (better diffs)
$global:OhMyPwsh_UseEnhancedTools = $true
# ============================================
# HELP SYSTEM
# ============================================
# Show custom help command (type 'help' to see available commands)
$global:OhMyPwsh_EnableCustomHelp = $true
# ============================================
# FEEDBACK & LEARNING MODE
# ============================================
# Show what commands are aliased to (helps learning PowerShell)
# Example: "mkdir → New-Item -ItemType Directory"
$global:OhMyPwsh_ShowAliasTargets = $true
# Show feedback messages for operations (Created, Deleted, etc.)
$global:OhMyPwsh_ShowFeedback = $true
# Show welcome tip about help command
$global:OhMyPwsh_ShowWelcome = $true
# ============================================
# STARTUP DISPLAY
# ============================================
# Enable system stats banner at startup
$global:OhMyPwsh_EnableStats = $true
# Enable Terminal-Icons module
$global:OhMyPwsh_EnableTerminalIcons = $true
# Enable oh-my-posh prompt initialization
$global:OhMyPwsh_EnablePrompt = $true
# Enable zoxide initialization
$global:OhMyPwsh_EnableZoxide = $true
# Enable fnm auto-init in the outer PowerShell profile
$global:OhMyPwsh_EnableFnmAutoInit = $true
# Skip prompt-heavy integrations in agent/non-interactive sessions
$global:OhMyPwsh_DisablePromptInAgentSessions = $true
# Skip fnm auto-init in agent/non-interactive sessions
$global:OhMyPwsh_DisableFnmInAgentSessions = $true
# Keep startup output minimal in automation/agent sessions
$global:OhMyPwsh_SilentStartupInAgentSessions = $true
# Disable fastfetch at startup (set to $false to enable)
$global:DisableFastfetch = $true
# ============================================
# STATUS CACHE
# ============================================
# Tool availability checks are cached to speed up profile loading.
# Full status printout happens once per cache refresh, then silent.
# Use `profile-status` command to force a fresh check anytime.
# Set cache TTL in hours (default: 24)
# $global:OhMyPwsh_StatusCacheHours = 24