cmder/config
Dmitri S. Guskov 21b1f00981
Powershell 5.1 compatibility
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
2018-08-29 14:42:01 +03:00
..
ConEmu.xml Powershell 5.1 compatibility 2018-08-29 14:42:01 +03:00
Readme.md Update config readme: 2017-03-24 14:07:30 +00:00

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.