mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
42 lines
861 B
Plaintext
42 lines
861 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 (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
|
|
# }
|