Skip to content

Jamyw7g/zc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zc

Faster cd To the Directory. Instead of cd with path, zc can jump to destination, even if it is just the directory name only.

The more you use it, the more he understands you

It works by maintaining a database, directories must be visited first before they can be jumped to.

INSTALLATION

Follow below commands to install zc

git clone https://github.com/Jamyw7g/zc.git
cd zc
cargo install --path .
python3 install.py

USAGE

  • show help
>>> zc -h
zc 1.0.0
Usage: zc [OPTIONS] [PATH...]

Options:
    -a, --add PATH      add new path to database with default weight
    -i, --increase      increase current directory
    -d, --decrease      decrease current directory
    -s, --stat          show database, which contain path and weight
        --purge         remove any non-existent paths from database
    -h, --help          print this help
    -v, --version       show version information
  • Jump To A Directory That Contains foo:
z foo
  • Or add more parameters to improve accuracy
z foo bar

About

Faster cd To the Directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published