rualdi-0.2.1 is not a library.
Visit the last successful build:
rualdi-0.1.4
Rualdi
Rust Aliasing Directory
Table of contents
Introduction
Rualdi allows you to create aliases on directories and to provide
an encapsulation of the built-in cd
command function for easy change of working directory.
You can also add environment variable which points on an alias.
All variables sourced in your environment are prefixed by RAD_
.
Inspired by zoxide
code.
Examples
# and add environment variable named RAD_WORKDIR
# in current environment and in configuration file
# and add environment variable named RAD_WD
# in current environment and to the configuration file
# on alias workdir in current environment
# and to the configuration file
# which points on alias workdir in current environment
# and to the configuration file
# on alias workdir in current environment
# without adding it to the configuration file
Getting started
Step 1: Installing rualdi
From Cargo registry
From source
Where <path>
is the path where you store your binaries.
On Debian
From source
From .deb prebuilt released
You can download a precompiled .deb
package from the
releases page and add run:
Other (via precompiled binary)
Alternatively, you can also download a precompiled binary from the
releases page and add it to
your PATH
.
Step 2: Adding rualdi
to your shell
Currently only bash
and zsh
are supported.
bash
Add the following line to your ~/.bashrc
:
zsh
Add the following line to your ~/.zshrc
:
Configuration
init
flags
--cmd
: change therad
command (and corresponding aliases) to something else.
Environment variables
$_RAD_ALIASES_DIR
: directory whererualdi
will store its aliases configuration file (default: platform-specific; see thedirs-next
documentation for more information)$_RAD_NO_ECHO
: when set to1
,rad
will not print the matched directory before navigating to it$_RAD_RESOLVE_SYMLINKS
: when set to1
,rad
will resolve symlinks before print the matched directory.