-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permissions Errors when running pimp-my-shell
#65
Comments
@TheZenTester echo $GOPATH
which go Try setting your GOPATH and running again # see https://zchee.github.io/golang-wiki/GOPATH/ and https://maelvls.dev/go111module-everywhere/ for more info
# TL:DR
# GOPATH is still supported even though it has been replaced by Go modules and is technically deprecated since Go 1.16, BUT, you can still use GOPATH to specify where you want your go binaries installed.
[[ ! -d "${HOME}/go" ]] && mkdir "${HOME}/go"
if [[ -z "${GOPATH}" ]]; then
cat << 'EOF' >> "${HOME}/.zshrc"
# Add ~/go/bin to path
[[ ":$PATH:" != *":${HOME}/go/bin:"* ]] && export PATH="${PATH}:${HOME}/go/bin"
# Set GOPATH
if [[ -z "${GOPATH}" ]]; then export GOPATH="${HOME}/go"; fi
EOF
fi
source ~/.zshrc I haven't looked at this codebase in a while and no longer actively maintaining it, but perhaps this might resolve your issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I'm required to run as
sudo
in order to successfully install. If not run as sudo,p10k configure
will not run, and error messages appear. Is there any way to install without requiringsudo
perms?To Reproduce
Steps to reproduce the behavior:
./pimp-my-shell
Screenshots
First error appears:
Error messages appearing while running the install:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: