mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-19 08:52:05 +02:00
Updated the Markdown manuals
This commit is contained in:
@@ -17,14 +17,17 @@ Parameters
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
# MY POWERSHELL PROFILE (this profile file defines the look & feel of PowerShell)
|
||||
# MY POWERSHELL PROFILE (defines the look & feel of PowerShell)
|
||||
|
||||
# WINDOW TITLE
|
||||
if ($IsLinux) { $Username = $(whoami) } else { $Username = $env:USERNAME }
|
||||
$host.ui.RawUI.WindowTitle = "$Username @ $(hostname)"
|
||||
|
||||
# GREETING
|
||||
Write-Host "Welcome $USERNAME at $(hostname), what's up?" -foregroundColor green
|
||||
|
||||
# COMMAND PROMPT
|
||||
function prompt { Write-Host -noNewline -foregroundColor yellow "`n➤ "; return " " }
|
||||
function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " }
|
||||
|
||||
# ALIAS NAMES
|
||||
del alias:pwd -force -errorAction SilentlyContinue
|
||||
@@ -34,4 +37,4 @@ del alias:ls -force -errorAction SilentlyContinue
|
||||
set-alias -name ls -value list-folder.ps1 # ls = list folder (short format)
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of my-profile.ps1 as of 03/27/2024 17:36:29)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of my-profile.ps1 as of 05/19/2024 10:25:23)*
|
||||
|
Reference in New Issue
Block a user