FG
💻 Software

User directory in PATH in zsh: ~ Does Not Work

Fresh5 days ago
Mar 15, 20267387 views
Confidence Score0%
0%

Problem

I'm doing this in my .zshrc and if I do it appears as the first thing in the path. Yet this directory isn't included in the executable path (nor for tab-completion). What am I doing wrong? shows the directory as expected. Edit: This works, though... I guess doesn't work in the path?

Error Output

PATH="~/scripts:$PATH"

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: User directory in PATH in zsh: ~ Does Not Work

Low Risk

Use instead.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment