mirror of
https://github.com/alebcay/awesome-shell.git
synced 2026-03-09 11:43:08 -05:00
Path modification bash shell script #573
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rickstaa on GitHub (Jan 23, 2020).
Not sure if I'm in the right place but I made a small bash alias wrapper script which I thought might be useful to other people. It can be used to easily list, remove, move and add paths to the PATH and PYTHONPATH environmental variables. Feel free to add it to the list if you consider it useful https://github.com/rickstaa/.pathmod. I am planning to add support for other shells in the future. Contributions are always welcome.
@MichaelHabib commented on GitHub (Jan 23, 2020):
Hi,
Is this something like Direnv ?
@rickstaa commented on GitHub (Jan 26, 2020):
Hey @MichaelHabib. Thanks for the tip I did not know about Direnv. It has a lot of useful functions! I looked at the documentation, and regarding PATH modification tools, my script has some additional options (remove, move and check PATH and PYTHONPATH) compared to Direnv. It further misses the expand path option. Hope you find my scrip useful. If you have suggestions or experience problems with my script let me know.
@rickstaa commented on GitHub (Jan 27, 2020):
@MichaelHabib The newest version of pathmod v1.0.2 now also includes the expand path option. Further, it also enables you to remove PATHS or PYTHONPATHS by specifying its index number.
@rickstaa commented on GitHub (Jun 18, 2021):
Closed due to inactivity.