/teleport

A simple tool to jump around directories.

Primary LanguageSchemeGNU General Public License v3.0GPL-3.0

teleport

Lets you jump around directories by pre-defined mnemonics. Heavily inspired by https://github.com/bollu/teleport.

Dependencies

  • guile 2.0+
  • guile-dbi
  • guile-dbd-sqlite3

Setup

Put the teleport.sh script somewhere in $PATH, then add this to your profile:

function tp() {
  $(teleport.sh "$@")
}

Initialize the database:

tp --init

Mark the current working dir:

cd /some/long/path
tp --add here be dragons

Jump around:

cd ~
tp here be dragons

Autocompletion (zsh)

Put the _tp script somewhere in $fpath.