mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-11-01 01:42:17 +08:00 
			
		
		
		
	Fixes Powershell 5.1 error when Windows Software Restriction Policy is enabled:
bin\vendor\profile.ps1 : Cannot dot-source this command because it was defined in a different language mode. To invoke this command without importing its contents, omit the '.'  operator.
At line:1 char:1
+ . 'bin\vendor\conemu-maximus5\..\profi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [profile.ps1], NotSupportedException
    + FullyQualifiedErrorId : DotSourceNotSupported,profile.ps1
		
	
Config
All config files must be in this folder. If there is no option to set this folder directly, it has to be hardlinked.
- user-aliases.cmd: aliases in cmd; called from vendor\init.bat; autocreated from- vendor\user-aliases.cmd.example.
- *.lua: clink completions and prompt filters; autoloaded after all prompt filter and clink completions are initialized; add your own.
- user-profile.{sh|cmd|ps1}: startup files for bash|cmd|powershell tasks; called from their respective startup scripts in- vendor\; autocreated on first start of such a task.
- .history: the current commandline history; autoupdated on close.
- settings: settings for readline; overwritten on update.
- ConEmu.xml: settings from ConEmu (=the UI of cmder -> Preferences); overwritten on update.