Crates.io | cdup |
lib.rs | cdup |
version | 0.5.0 |
source | src |
created_at | 2023-06-30 21:14:03.965442 |
updated_at | 2023-09-24 05:51:10.316837 |
description | Ascend directories by count |
homepage | https://gitlab.com/radek-sprta/cdup |
repository | https://gitlab.com/radek-sprta/cdup |
max_upload_size | |
id | 905003 |
size | 403,248 |
cdup is a CLI utility to ascend directories by count. It currently ships with integrations for the following shells:
You can install cdup by building it with cargo. Run the following command:
cargo install --target-dir ~/.local cdup
This will create a binary in ~/.local/bin/cdup
.
To get the run shell-specific instructions, use the following command:
cdup init
That will print instructions on how to add the up
integration function to
your shell.
Afterward, you can call up
with a number to ascend the desired number of directories.
Here's an example:
$ pwd
/home/rsprta/git/cdup
$ up
$ pwd
/home/rsprta/git
$ up rs
$ pwd
/home/rsprta
$ up 2
$ pwd
/
GNU General Public License v3.0