Releases: rickstaa/.pathmod
v1.0.9
v1.0.8
v1.0.7
Updates script command line arguments
In this release, the --settings
command-line argument has been changed to --show-path
. I did this since this name made more sense.
Update install and uninstall script output messages
I updated the messages that are sent to the stdout when installing or uninstalling the pathmod script.
Small bug fix
🐛 Although, v1.0.3 fixed the path remove bug it came with a new bug in which an extra :
delimiter char was added. This new bug is fixed in this release.
Small bug fix
🐛 This commit fixes a small bug which caused a path to stay on the PATH/PYTHONPATH when the PATH/PYTHONPATH length was 1.
Add the ability to expand a relative path to an absolute path
This release enables you to retreive the absolute path of rel_path relative to relative_to or the current directory 🎉.
Example
cd /usr/local/myfile
pathmod -e ./myfile
$ output: /usr/local/myfile
Adds the ability to remove/move paths using index.
In this release a number of new features are added:
-
The user now has the ability to remove or move paths by using its
index.Examples:
- Remove path on index 4:
pathmod -r 4
- Move path on index 4 to index 8:
pathmod -m 5 -i 8
- Remove path on index 4:
-
Also a pathguard option
-sg
is added which protects users from adding invalid
paths. -
Lastly, the version command
-v
was added which can be used to check the version.
First Release
The first stable release of the pathmod script.