自动跳变 on ArchLinux由于某种原因不在zsh中工作。
尽管我切换到了bash,但它工作得很好。
$ sudo pacman -S autojump自动跳转:不适用于zsh
$ source /usr/etc/profile.d/autojump.sh
$ j
zsh: command not found: j
$ source /usr/etc/profile.d/autojump.bash
$ j
zsh: command not found: j自动跳转:在bash上工作
$ bash
(bash) $ source /usr/etc/profile.d/autojump.bash
(bash) $ j
autojump: ...我的环境:
$ echo $SHELL
/bin/zsh
$ zsh --version
zsh 5.0.2 (x86_64-unknown-linux-gnu)我在OS上和zsh一起使用自动跳转,所以在我看来,它也不像一个zsh特定的问题。
发布于 2013-01-01 19:57:23
在通过/usr/etc/profile.d/autojump.zsh安装autojump时,没有推送autojump。我不知道为什么会这样。
但是,我执行了手动用户安装,并在zsh配置中添加了自动跳转插件,负责文件的来源。
发布于 2014-02-18 04:59:49
我已经尝试过以上方法,但是我通过添加
source ~/.autojump/etc/profile.d/autojump.zsh因为I没有找到/usr/etc/profile.d/autojump.zsh
https://stackoverflow.com/questions/14094848
复制相似问题