# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup wting autojump 22.5.1 release-v
description a cd command that learns
long_description ${name} is ${description}.
checksums rmd160 5d030385017b4b3df8ccc2deb144dac9822a680b \
sha256 79f38db0a6bb83c54352bd9d6a886b113e75c6adb13fa18c563e85d04c7ace99
depends_run port:python27
reinplace "s:/usr/bin/env python:${prefix}/bin/python2.7:g" ${worksrcpath}/bin/autojump
destroot.cmd ${prefix}/bin/python2.7
destroot.args install.py --force
destroot.destdir --destdir=${destroot}${prefix} --zshshare=${destroot}${prefix}/share/zsh/site-functions
reinplace "s:${destroot}${prefix}:${prefix}:g" ${destroot}${prefix}/etc/profile.d/autojump.sh
To use autojump for bash, add the following to the end of your .bashrc:
if \[ -f ${prefix}/etc/profile.d/autojump.sh \]; then
. ${prefix}/etc/profile.d/autojump.sh
To use autojump for zsh, add the following to the end of your .zshrc:
export FPATH=\"\$FPATH:${prefix}/share/zsh/site-functions/\"
if \[ -f ${prefix}/etc/profile.d/autojump.sh \]; then
. ${prefix}/etc/profile.d/autojump.sh
To use zsh tab completion, load compinit in your .zshrc:
autoload -U compinit; compinit