c91fffca69eeb0f38cadee33ef9236a5c3ded5ff

Author
Nick Cross <ncross@redhat.com>
Committer
Michael Aquilina <michaelaquilina@gmail.com>
Date

Message

Improve comment with cross-references

Diff

 1diff --git a/autoswitch_virtualenv.plugin.zsh b/autoswitch_virtualenv.plugin.zsh
 2index 21cb3dcbc32322581a043f7dec0fbbdcc12a4ec3..7f99c0d5db26a374609991ef1e5b2155ec0a11c9 100644
 3--- a/autoswitch_virtualenv.plugin.zsh
 4+++ b/autoswitch_virtualenv.plugin.zsh
 5@@ -167,7 +167,10 @@ function rmvenv()
 6         fi
 7 
 8         printf "Removing ${PURPLE}%s${NORMAL}...\n" "$venv_name"
 9-        # Using explicit paths to avoid any alias interference.
10+        # Using explicit paths to avoid any alias/function interference.
11+        # rm should always be found in this location according to
12+        # https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s04.html
13+        # https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge/
14         /bin/rm -rf "$(_virtual_env_dir "$venv_name")"
15         /bin/rm ".venv"
16     else