Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

command not found: tmux #29

Open
marioblokland opened this issue May 9, 2019 · 4 comments
Open

command not found: tmux #29

marioblokland opened this issue May 9, 2019 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@marioblokland
Copy link

First of all, thanks for your work. Your setup and the Nord theme are exactly my kind of taste :)

Problem
When I execute the noobs-term.sh script, everything seems to work fine at first. But after re-login, I get the following error in iterm on MacOS:

/Users/mario/.zshrc:7: command not found: tmux
/Users/mario/.zshrc:7: command not found: tmux

Then I tried to execute tmux manually, but it did not work. All other commands did not work either eg. vim, brew etc. After inspecting, I saw that somehow my PATH variable did not include the /usr/local/bin anymore, where all the installed commands live.

After including export PATH=$PATH:/usr/local/bin at the top, everything works fine again.

@aaronkjones aaronkjones self-assigned this May 11, 2019
@aaronkjones aaronkjones added the bug Something isn't working label May 11, 2019
@aaronkjones
Copy link
Owner

Thanks for reporting this. I think this possibly has to do with the way Homebrew is installed. Did you have Homebrew installed prior to running the script?

@marioblokland
Copy link
Author

Hi Aaron, yes I had Homebrew already installed before executing the script. But the script recognised it, since it informed me about it during execution.

@aaronkjones
Copy link
Owner

aaronkjones commented May 12, 2019

Looks like Homebrew requires /usr/local/bin to be in your PATH which you already figured out. When you run the installer it will warn you:

EDIT: Maybe the script should check for the correct PATH since if Homebrew is installed via this script the path will not exist in PATH, therefore it will still fail.

@marioblokland
Copy link
Author

marioblokland commented May 13, 2019

I think that is a good idea, since that ist the only thing preventing noobs-term to work as expected after the script is done executing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants