【问题标题】:How do I get tab-completion to work in emacs shell after using a symlink?使用符号链接后,如何让制表符完成在 emacs shell 中工作?
【发布时间】:2013-08-15 11:05:21
【问题描述】:

当我处于 Shell 模式并通过符号链接 cd 到目录时,cd 命令的制表符完成停止工作。有解决办法吗?我在 Fedora Core 18 上并使用 Emacs 24.2.1。

【问题讨论】:

    标签: emacs symlink tab-completion


    【解决方案1】:

    这个问题有很多解决方案。我碰巧更喜欢我的实现,它将提示更改为包含当前路径,Emacs 识别并使用它来获得您想要的行为。此外,我的解决方案隐藏了提示中包含路径的部分,因为我觉得它很难看。

    我的解决方案可以在博文中找到:Emacs Tip #25 Shell Dirtrack By Prompt

    但是,可以在 Emacs Wiki 或其他地方找到许多其他解决方案:

    【讨论】:

      猜你喜欢
      • 2022-01-10
      • 1970-01-01
      • 1970-01-01
      • 2011-03-25
      • 1970-01-01
      • 2014-02-07
      • 2012-02-10
      相关资源
      最近更新 更多