#tags #jump #directory #shorthand #script

app jumptag

Jump to directory using tags as shorthand

6 releases

0.1.4 Nov 7, 2024
0.1.3 Nov 6, 2024
0.1.2 Nov 5, 2024
0.1.1 Nov 5, 2024
0.1.0 Nov 5, 2024

#1 in #shorthand

Download history 465/week @ 2024-11-02 50/week @ 2024-11-09

515 downloads per month

MIT/Apache

20KB
426 lines

Jumptag

Jump to directory using tags as shorthand.

Install

Use binary

  • Download the binary jumptag and script configure.sh from release, to the same directory.
  • Execute:
bash configure.sh <path_to_rc_file>

Compile from source

  • Please read before run:
bash build.sh <path_to_rc_file> -r

Use

Initialize

# add binary:
mkdir -p ~/.jumptag/bin
cp ./jumptag ~/.jumptag/bin
# initialize:
jumptag -init <your_rc_file>
# please restart your shell right after

Use

An example in an interactive shell (zsh) :

  • Currently we have bindings:
~/dev/rs > jt -ls
[jump-tag] (3 bindings)
desk => /mnt/a/Desktop
dev => /home/da1sypetals/dev
rs => /home/da1sypetals/dev/rs
  • Create a new one and jump to it!
~/dev/rs > jt desk

/mnt/a/Desktop > jt -add docs ~/dev/docs

/mnt/a/Desktop > jt docs
  • Now delete an existing one!
~/dev/docs > jt dev

~/dev > jt -del dev

~/dev > jt rs
  • And jump to it...
~/dev/rs > jt dev
[jump-tag] failed: tag not found: dev
  • Finally, see what we have now!
~/dev/rs > jt -ls
[jump-tag] (3 bindings)
desk => /mnt/a/Desktop
docs => /home/da1sypetals/dev/docs
rs => /home/da1sypetals/dev/rs

Dependencies

~4–5.5MB
~105K SLoC