sudo apt-get install autojump
安装完成之后如果直接运行autojump,会报错如下:
$ autojump
Please source the correct autojump file in your shell's
startup file. For more information, please reinstall autojump
and read the post installation instructions.
在~/.bashrc
文件中加入如下内容,然后关闭再重新打开命令行:
source /usr/share/autojump/autojump.bash