|
|
|
|
|
by morningsam
733 days ago
|
|
An alternative method for avoiding collisions in PATH is to use really long executable names that are unlikely to be used by other executables and then have shorter aliases for them in your bashrc. The aliases won't affect executables called from within scripts and you can still refer to your executables by their long names in your own scripts. One drawback is that this doesn't have the same tab completion ergonomics, which I have to admit is really nifty. EDIT: And another is that collisions can still occur in scripts that need to be sourced rather than executed as a sub-process (like Python's venv activation scripts). But those are rare. |
|
They do in zsh