|
发表于 2003-8-20 16:30:18
|
显示全部楼层
在history命令的显示中就没试出来。
不过下面的东西可以在/etc/inputrc中加上去,而后就"UPARROW"修改命令的时候就在命令行前面有个*号了。<---本来以为用VI模式修改才不会在history中显示,而后在普通模式也一样……
mark-modified-lines (Off)
If set to On, history lines that have been modified are dis- played with a preceding asterisk (*).
不过话说回来,自己去花时间弄这个也确实无聊。 |
|