mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-04 13:53:53 +01:00
Updated my-profile.ps1
This commit is contained in:
parent
7a175c2a2e
commit
467332f0fe
@ -11,9 +11,10 @@ Write-Host "👋 Welcome $username to $(hostname)'s PowerShell - type 'hlp' if y
|
|||||||
function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " }
|
function prompt { Write-Host "`n➤ " -noNewline -foregroundColor yellow; return " " }
|
||||||
|
|
||||||
# ALIASES
|
# ALIASES
|
||||||
del alias:pwd -force -errorAction SilentlyContinue
|
set-alias -name enter -value enter-host.ps1
|
||||||
set-alias -name hlp -value write-help.ps1
|
set-alias -name hlp -value write-help.ps1
|
||||||
set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory
|
set-alias -name ll -value Get-ChildItem # ll = list folder (long format)
|
||||||
set-alias -name ll -value get-childitem # ll = list folder (long format)
|
|
||||||
del alias:ls -force -errorAction SilentlyContinue
|
del alias:ls -force -errorAction SilentlyContinue
|
||||||
set-alias -name ls -value list-folder.ps1 # ls = list folder (short format)
|
set-alias -name ls -value list-folder.ps1 # ls = list folder (short format)
|
||||||
|
del alias:pwd -force -errorAction SilentlyContinue
|
||||||
|
set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory
|
||||||
|
Loading…
Reference in New Issue
Block a user