SIGN IN SIGN UP

Always single-quote directory when cd'ing to get shell env (#9145)

This avoids us potentially executing code (if someone were to name their
directory `$(echo you-are-pwned > /secure-files)`, for example).

Works with zsh, bash, fish, nushell. Tested locally with all of them.

Release Notes:

- N/A
T
Thorsten Ball committed
f4a86e6feac496f4f5c1ca46e229f04a3896fd19
Parent: 597465b
Committed by GitHub <noreply@github.com> on 3/10/2024, 12:53:24 PM