mirror of
https://github.com/cmderdev/cmder.git
synced 2025-02-11 07:59:07 +08:00
997e799138
@MartiUK: Squashing to avoid adding multiple "fixed" commits * add args to init.bat * adding args to cmder launcher * reworked command line parsing and added a /C [path] arg for individual user config location * removed unnecessary includes * make shell init scripts work with CMDER_USER_CONFIG * update tasks and readme.md * fix git version check * readme updates * add register/unregister back in * fixed git version again * removed error if user defines user-aliases store file was not present an init.bat launch * added enhance_path method to only update path if required * added enhance_path method to only update path if required * fixed a path prepend issue in enhance path * init.bat with args is executed outside cmder/conemu sets cmder_root properly. Thanks @DRSDavidSoft * fixed enhance path append issue * implements recursive `/bin` path enhancing. https://github.com/cmderdev/cmder/issues/1624 * added max depth * changes command line arg to max_depth * set max_depth default * readme.md updates * add back cmder /c [path] arg so it can be used with admin sessions since the env is not shared. * readme.md updates * fix /c setting of cmder_user_config * changelog and readme * remove bad arg * fixed command line parsing and updated command line help on error * Fixed ConEmu.xml file handling so it works again * Added default user config root location if '/c' is specified and next arg is not another arg
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 fromvendor\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 invendor\
; 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.