zsh -c "$(curl -sL https://gist.githubusercontent.com/speto/89c741391b5283e3071938f4d4d61553/raw/whoami.sh)"
or
zsh <(curl -sL https://gist.githubusercontent.com/speto/89c741391b5283e3071938f4d4d61553/raw/whoami.sh)
sudo zsh -c "$(curl -sL https://gist.githubusercontent.com/speto/89c741391b5283e3071938f4d4d61553/raw/whoami.sh)"
or (doesn't work with read
)
sudo zsh < <(curl -sL https://gist.githubusercontent.com/speto/89c741391b5283e3071938f4d4d61553/raw/whoami.sh)
zsh -c "$(curl -sL https://gist.githubusercontent.com/speto/89c741391b5283e3071938f4d4d61553/raw/whoami_with_sudo.sh)"
zsh <(curl -sL https://gist.githubusercontent.com/speto/89c741391b5283e3071938f4d4d61553/raw/whoami_with_sudo.sh)
- basic idea https://gist.github.com/mob-sakai/174a32b95572e7d8fdbf8e6f43a528f6
- sudo workaround rclone/rclone#3922 (comment)
- sudo read/answer https://brew.sh