- Nix flake requirements for Windows cross-compilation
- Some security audits by upgrading dependencies
- Nix flake for compilation and development environments
- Tests in the
crate::path::clean
module now pass on Linux systems that don't have/usr/
as a top-level directory- This was discovered when trying to build a Nix package
- Testing on Arch Linux no longer fails due to a symlink in
/usr/lib/
(see #1, thanks @thecakeisalie25) - Removed erroneous
echo
alias for therevert
subcommand
- Upgraded from
home
todirs-next
crate to follow the XDG Base Directories and XDG User Directories specifications - Upgraded to
clap
v4
- Switched from
structopt
toclap
v3
- Prepending a duplicate directory with
pad add
no longer leaves two copies of the directory in$PATH
when forced. - Removing a directory not found in
$PATH
properly raises a warning. - Other errors that should have been raised are now raising correctly.
- Quiet
-q
CLI argument to suppress errors or warnings.
- Switched from CLI parsing with
clap
tostructopt
.- Everything should stil work normally, but there may be errors that I haven't tested for, yet.
- Documentation throughout the crate.
- Using the 2021 edition of Rust instead of the 2018 edition.
- Error with Linux and macOS systems when looking for trailing slashes in directories.
- Adding revert/undo functionality
- This makes use of a local config file that contains all the path history
- Simplified error messages when a directory doesn't exist
- Bugfix:
pad add -p
no longer erases$PATH
- Safe failure mode by always printing the current
$PATH
if an error occurs
- Automatically clean
$PATH
- Allow for adding multiple directories in a single command
- Consistent environment variable behaviour on Windows machines as other operating systems
- Deprecating
undo
subcommand due to insecure and lack of persistence trying to directly edit environment variables
- Bugfixes for *nix operating systems
- Option to show
OLD_PATH
withls
subcommand
- Additionally remove non-existing directories from
$PATH
withclean
subcommand - Default to +/-1 positions for
up
anddn
subcommands
- Making use of
OLD_PATH
directory for safer changes - Adding
undo
subcommand to safely revert back to theOLD_PATH
clean
subcommand to remove duplicate directories from $PATH
.
Initial release.
Can add, remove, list, and change priority of directories in $PATH
.