Crates.io | jumptag |
lib.rs | jumptag |
version | 0.1.4 |
source | src |
created_at | 2024-11-05 07:50:37.467897 |
updated_at | 2024-11-07 01:56:18.196952 |
description | Jump to directory using tags as shorthand. |
homepage | |
repository | https://github.com/Da1sypetals/jumptag |
max_upload_size | |
id | 1436200 |
size | 29,663 |
Jump to directory using tags as shorthand.
jumptag
and script configure.sh
from release, to the same directory.bash configure.sh <path_to_rc_file>
bash build.sh <path_to_rc_file> -r
# add binary:
mkdir -p ~/.jumptag/bin
cp ./jumptag ~/.jumptag/bin
# initialize:
jumptag -init <your_rc_file>
# please restart your shell right after
An example in an interactive shell (zsh) :
~/dev/rs > jt -ls
[jump-tag] (3 bindings)
desk => /mnt/a/Desktop
dev => /home/da1sypetals/dev
rs => /home/da1sypetals/dev/rs
~/dev/rs > jt desk
/mnt/a/Desktop > jt -add docs ~/dev/docs
/mnt/a/Desktop > jt docs
~/dev/docs > jt dev
~/dev > jt -del dev
~/dev > jt rs
~/dev/rs > jt dev
[jump-tag] failed: tag not found: dev
~/dev/rs > jt -ls
[jump-tag] (3 bindings)
desk => /mnt/a/Desktop
docs => /home/da1sypetals/dev/docs
rs => /home/da1sypetals/dev/rs