加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

Powershell中的Bash风格的转义下划线

发布时间:2020-12-15 20:52:22 所属栏目:安全 来源:网络整理
导读:在bash中我经常使用转义下划线快捷方式: subl somedir/file.sh./(escape underscore) 其中填写了最后一行的最后一项,例如: ./(escape underscore) 变为: ./somedir/file.sh 有没有办法在powershell中设置它? (我正在使用Powershell 5.1,ConEmu和PSReadLi
在bash中我经常使用转义下划线快捷方式:

subl somedir/file.sh
./(escape underscore)

其中填写了最后一行的最后一项,例如:

./(escape underscore)

变为:

./somedir/file.sh

有没有办法在powershell中设置它?

(我正在使用Powershell 5.1,ConEmu和PSReadLine以及PCSX)

解决方法

如果你使用带有PSReadline的Emacs模式,那么Esc下划线是正确的. Alt.也做同样的事情,并在Emacs和Windows模式下绑定.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读