mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-11 00:39:08 +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
|
||||
:: Sets some nice defaults
|
||||
:: Created as part of cmder project
|
||||
|
||||
:: !!! 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
|
||||
if(!$PSScriptRoot) {
|
||||
$PSScriptRoot = Split-Path $Script:MyInvocation.MyCommand.Path
|
||||
|
Loading…
Reference in New Issue
Block a user