【问题标题】:autojump jump based on parent directory根据父目录自动跳转
【发布时间】:2023-03-06 21:31:01
【问题描述】:

有没有办法根据父目录跳转到某个位置?大多数情况下,代码库将具有相同的子目录名称,例如src。下面这种情况,有没有办法跳转到/tmp/temp1/test1

$ j -s
10.0:   /tmp/temp1/test1
14.1:   /tmp/temp2/test1
28.3:   /tmp
________________________________________

52:  total key weight
3:   stored directories
28.28:   current directory weight
db file: /home/<user>/.local/share/autojump/autojump.txt

$ j temp1
autojump: directory 'temp1' not found
Try `autojump --help` for more information.

谢谢。

【问题讨论】:

标签: bash autojump


【解决方案1】:

如手册部分所述,可以使用多个参数。

礼貌:wting

https://github.com/wting/autojump/issues/424#issuecomment-226813555

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-15
    • 2015-08-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-05-15
    相关资源
    最近更新 更多