mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
add overwrite notice to posh profile, too
This commit is contained in:
parent
215ba574aa
commit
5a1aa7e25b
1
vendor/init.bat
vendored
1
vendor/init.bat
vendored
@ -1,5 +1,4 @@
|
|||||||
:: Init Script for cmd.exe
|
:: Init Script for cmd.exe
|
||||||
:: Sets some nice defaults
|
|
||||||
:: Created as part of cmder project
|
:: Created as part of cmder project
|
||||||
|
|
||||||
:: !!! THIS FILE IS OVERWRITTEN WHEN CMDER IS UPDATED
|
:: !!! THIS FILE IS OVERWRITTEN WHEN CMDER IS UPDATED
|
||||||
|
6
vendor/profile.ps1
vendored
6
vendor/profile.ps1
vendored
@ -1,3 +1,9 @@
|
|||||||
|
# Init Script for PowerShell
|
||||||
|
# Created as part of cmder project
|
||||||
|
|
||||||
|
# !!! THIS FILE IS OVERWRITTEN WHEN CMDER IS UPDATED
|
||||||
|
# !!! Use "%CMDER_ROOT%\config\user-profile.ps1" to add your own startup commands
|
||||||
|
|
||||||
# Compatibility with PS major versions <= 2
|
# Compatibility with PS major versions <= 2
|
||||||
if(!$PSScriptRoot) {
|
if(!$PSScriptRoot) {
|
||||||
$PSScriptRoot = Split-Path $Script:MyInvocation.MyCommand.Path
|
$PSScriptRoot = Split-Path $Script:MyInvocation.MyCommand.Path
|
||||||
|
Loading…
Reference in New Issue
Block a user