mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
Merge pull request #2068 from cmderdev/history_cmd_index_sync
Print Index in History Command Output
This commit is contained in:
commit
865e443fcd
@ -14,6 +14,9 @@
|
|||||||
* Provide default settings for Clink that updates the history file in real time
|
* Provide default settings for Clink that updates the history file in real time
|
||||||
* Turn this on in existing Cmder using `clink set history_io 1`
|
* Turn this on in existing Cmder using `clink set history_io 1`
|
||||||
* Allow clink disable by setting CMDER_CLINK=0 before starting task
|
* Allow clink disable by setting CMDER_CLINK=0 before starting task
|
||||||
|
* Pull Request: [#2068](https://github.com/cmderdev/cmder/pull/2068)
|
||||||
|
* Print Index in History Command Output.
|
||||||
|
* Sets default `history_expand_mode = 3` in initial Clink Settings.
|
||||||
|
|
||||||
### Adds
|
### Adds
|
||||||
|
|
||||||
|
2
vendor/clink_settings.default
vendored
2
vendor/clink_settings.default
vendored
@ -87,7 +87,7 @@ history_io = 1
|
|||||||
# from the history. This can be enabled and disable by setting this value to 1
|
# from the history. This can be enabled and disable by setting this value to 1
|
||||||
# or 0. Values or 2, 3 or 4 will skip any ! character quoted in single, double,
|
# or 0. Values or 2, 3 or 4 will skip any ! character quoted in single, double,
|
||||||
# or both quotes respectively.
|
# or both quotes respectively.
|
||||||
history_expand_mode = 4
|
history_expand_mode = 3
|
||||||
|
|
||||||
# name: Support Windows' Ctrl-Alt substitute for AltGr
|
# name: Support Windows' Ctrl-Alt substitute for AltGr
|
||||||
# type: bool
|
# type: bool
|
||||||
|
2
vendor/user_aliases.cmd.default
vendored
2
vendor/user_aliases.cmd.default
vendored
@ -9,7 +9,7 @@ gl=git log --oneline --all --graph --decorate $*
|
|||||||
ls=ls --show-control-chars -F --color $*
|
ls=ls --show-control-chars -F --color $*
|
||||||
pwd=cd
|
pwd=cd
|
||||||
clear=cls
|
clear=cls
|
||||||
history=cat "%CMDER_ROOT%\config\.history"
|
history=cat -n "%CMDER_ROOT%\config\.history"
|
||||||
unalias=alias /d $1
|
unalias=alias /d $1
|
||||||
vi=vim $*
|
vi=vim $*
|
||||||
cmderr=cd /d "%CMDER_ROOT%"
|
cmderr=cd /d "%CMDER_ROOT%"
|
||||||
|
Loading…
Reference in New Issue
Block a user