You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone [email protected]:Ziyadsk/scc.git
cd scc/
sudo sh ./install.sh
Restart Terminal
2. Try and run a command
scc -h (returns `-bash: scc: command not found`)
scc -js array.map (returns `-bash: scc -js array.map: command not found`)
3. Check if ~/.bashrc and ~/.zshrc have necessary info:
In ~/.bashrc has
export PATH="/Users/teamnoob/bin:/usr/local/bin:/usr/local/bin:/usr/bin/git:/usr/bin:/usr/local/sbin:/usr/local/opt/make/libexec/$
alias scc='/Users/teamnoob/.scc/scc.py'
in ~/.zshrc has
export PATH="/Users/teamnoob/bin:/usr/local/bin:/usr/local/bin:/usr/bin/git:/usr/bin:/usr/local/sbin:/usr/local/opt/make/libexec/$
alias scc='/Users/teamnoob/.scc/scc.py'
Restart Terminal again
No luck :'(
The text was updated successfully, but these errors were encountered:
Disclaimer: I've never used a mac so my advice may need to be tweaked.
With that said my best guess is that your .bashrc file isn't being sourced since it looks like your shell is bash and the file looks fine.
To manually source it you can run . ~/.bashrc or the equivalent source ~/.bashrc and then test running scc. To source it every time you open a terminal you can add . ~/.bashrc to your ~/.bash_profile file, creating the file if needed.
Hopefully that fixes the issue, the install script is a bit hacky and could definitely be improved.
Steps to reproduce:
1. Clone the repo
2. Try and run a command
3. Check if
~/.bashrc
and~/.zshrc
have necessary info:In
~/.bashrc
hasin
~/.zshrc
hasNo luck :'(
The text was updated successfully, but these errors were encountered: