autojump 之 git本地安装

 
1、克隆autojump的repo,Terminal下执行:
     git clone git://github.com/joelthelion/autojump.git
     然后进入clone下来的目录,执行安装脚本:
     ./install.python
    在安装过程中,会在~/下建立.autojump文件夹
 
2、配置
     在shell的配置文件.zshrc中添加如下配置信息
      vim ~/.zshrc文件,添如下:
      [[ -s /root/.autojump/etc/profile.d/autojump.sh ]] && source /root/.autojump/etc/profile.d/autojump.sh
     source  ~/.zshrc
3、 配置完成
4、j 命令
    j -s   :显示数据库中的历史命令
    
原文地址:https://www.cnblogs.com/xull0651/p/7117534.html