Skip to content
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

Detect when there is no .zshrc file and create it if necessary #75

Open
natesilva opened this issue Mar 29, 2020 · 1 comment
Open

Detect when there is no .zshrc file and create it if necessary #75

natesilva opened this issue Mar 29, 2020 · 1 comment

Comments

@natesilva
Copy link

natesilva commented Mar 29, 2020

When installing on a Mac that does not have a .zshrc file yet, Eclectica fails with an error:

% ec -r node@12

langauge: node 
 version: 12.16.1 

> open : no such file or directory

I had this happen when using Eclectica to install Node on a new Mac that I hadn’t configured yet.

Workaround

Create a .zshrc file first:

% touch ~/.zshrc

% ec -r node@12 

langauge: node 
 version: 12.16.1 

> First time executing eclectica - had to restart the shell

Environment

macOS 10.15.3 (where zsh is now the default shell)
Eclectica 0.7.1

@markelog
Copy link
Owner

markelog commented Apr 1, 2020

Okay, seems easy enough to fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants