File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # My PowerShell Profile
2- # =====================
3- # This profile file defines the look & feel of PowerShell.
1+ # MY POWERSHELL PROFILE (this profile file defines the look & feel of PowerShell)
42
5- # Window Title
6- # ------------
3+ # WINDOW TITLE
74if ($IsLinux ) { $Username = $ (whoami) } else { $Username = $env: USERNAME }
85$host.ui.RawUI.WindowTitle = " $Username @ $ ( hostname) "
96
10-
11- # Command Prompt
12- # --------------
7+ # COMMAND PROMPT
138function prompt { write-host - noNewline - foregroundColor yellow " `n ➤" ; return " " }
149
15-
16- # Alias Names
17- # -----------
10+ # ALIAS NAMES
1811del alias:pwd - force - errorAction SilentlyContinue
1912set-alias - name pwd - value list- workdir.ps1 # pwd = print working directory
20- set-alias - name ll - value get-childitem # ll = list long
21- del alias:ls - force - errorAction SilentlyContinue
22- set-alias - name ls - value list- folder.ps1
13+ set-alias - name ll - value get-childitem # ll = list folder ( long format)
14+ del alias:ls - force - errorAction SilentlyContinue
15+ set-alias - name ls - value list- folder.ps1 # ls = list folder (short format)
You can’t perform that action at this time.
0 commit comments