userpath
userpath copied to clipboard
Cross-platform tool for adding locations to the user PATH, no elevated privileges required!
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm...
For support for pathlib.Path or anything that supports the interface. See https://docs.python.org/3.8/library/os.html#os.PathLike
This is a feature request. It would be nice if there was an argument for `append()` and `prepend()`, or perhaps new methods based on these, that would return a list...
wrong shell
@ofek `userpath` doesn't work for my setup locally so I'm having some trouble testing. Here are my dotfiles in case it helps: https://github.com/AlJohri/dotfiles Issues: - current shell is ZSH but...
It might be a good idea to provide a manual page for `userpath` script.
For context: Linux user I think this project would benefit to some documentation as to what the tool actually **does**, as in what files it modifies and how. After making...
@ofek just wanted to get your thoughts on potentially expanding the scope (whether in a separate package or the same) to not just PATH modifications but appending arbitrary lines to...
When Hatch installs a Python version, the paths have spaces. E.g., `/Users/hynek/Library/Application Support/hatch/pythons/pypy2.7/pypy2.7-v7.3.12-macos_arm64/bin` `userpath` adds this to my `~/.config/fish/config.fish`: ``` # Created by `userpath` on 2023-12-12 07:22:33 set PATH $PATH...
ash (the busybox version) is the default shell on OpenWrt. The ash package installed in the Docker image actually installs a symlink to dash, but ash and dash are similar...
Bash may not always be installed, for example on OpenWrt, and attempting to call the show path commands for Bash will cause a `FileNotFoundError` to be raised. This wraps the...