Is there an existing issue for this?
Update the issue title
Expected Behavior
zsh-addr stores user temporary files in a unique path per user.
Actual Behavior
zsh-addr stores sudo'able users temporary files in the same fixed location:
/tmp/zsh-addr and /tmp/zsh-job-queue
if 2 sudo'able users on the same system attempt to use zsh-addr, the last user will be rejected due to permission failure.
Steps To Reproduce
In a multi-user environment, attempt to install the plugin from 2 concurrent sudo'able users.
Environment
❯ abbr profile
_job_queue:push:add_job:7: permission denied: /tmp/zsh-job-queue/zsh-abbr/1755741824.5859432220--a2b0f582-b8b2-4c37-9fe1-2b427ae7ae36
_job_queue:push:add_job:8: permission denied: /tmp/zsh-job-queue/zsh-abbr/1755741824.5859432220--a2b0f582-b8b2-4c37-9fe1-2b427ae7ae36
_job_queue:push:wait_turn:6: bad math expression: operand expected at end of string
__demonstrates the failure__ :)
Installation method
Plugin manager
Installation method details
zgenom
Anything else?
No response
Is there an existing issue for this?
Update the issue title
Expected Behavior
zsh-addr stores user temporary files in a unique path per user.
Actual Behavior
zsh-addr stores sudo'able users temporary files in the same fixed location:
/tmp/zsh-addr and /tmp/zsh-job-queue
if 2 sudo'able users on the same system attempt to use zsh-addr, the last user will be rejected due to permission failure.
Steps To Reproduce
In a multi-user environment, attempt to install the plugin from 2 concurrent sudo'able users.
Environment
Installation method
Plugin manager
Installation method details
zgenom
Anything else?
No response