cmder/vendor/user_profile.ps1.default

43 lines
881 B
Plaintext

# Use this file to run your own startup commands
## Prompt Customization
<#
.SYNTAX
<PrePrompt><CMDER DEFAULT>
λ <PostPrompt> <repl input>
.EXAMPLE
<PrePrompt>N:\Documents\src\cmder [master]
λ <PostPrompt> |
#>
[ScriptBlock]$PrePrompt = {
}
# Replace the cmder prompt entirely with this.
# [ScriptBlock]$CmderPrompt = {}
[ScriptBlock]$PostPrompt = {
}
## <Continue to add your own>
# Delete default powershell aliases that conflict with bash commands
# If you prefer the powershell aliases remove this.
if (get-command git) {
del -force alias:cat
del -force alias:clear
del -force alias:cp
del -force alias:diff
del -force alias:echo
del -force alias:kill
del -force alias:ls
del -force alias:mv
del -force alias:ps
del -force alias:pwd
del -force alias:rm
del -force alias:sleep
del -force alias:tee
}