Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Problems with enviroment with pre-commit hooks #76

Closed
abtris opened this issue Jul 2, 2014 · 9 comments
Closed

Problems with enviroment with pre-commit hooks #76

abtris opened this issue Jul 2, 2014 · 9 comments

Comments

@abtris
Copy link

abtris commented Jul 2, 2014

I used Ochtra for pre-commit hook, from my zsh not problem.

But in atom i have this message:
image

I think need set some path or environment for fixing this? Remove colors from bash message will be nice too.

Add possibility to skip pre-commit using -n can be useful.

@nshtg
Copy link
Contributor

nshtg commented Jul 2, 2014

Mac/Windows/Linux?

Is coffeelint installed globally? Are you loading it's path in some zsh config (I use bash, no idea about zsh really)?

@abtris
Copy link
Author

abtris commented Jul 2, 2014

Mac, using nvm 0.10.28 and is install by npm install -g coffeelint and which coffeelint -> ~/.nvm/v0.10.28/bin/coffeelint

@nshtg
Copy link
Contributor

nshtg commented Jul 2, 2014

Do you have the standard terminal somewhere and could try which coffeelint in there?

@abtris
Copy link
Author

abtris commented Jul 2, 2014

I'm using zsh not bash, in bash coffeelint is available too. But zsh is user default shell.

@abtris
Copy link
Author

abtris commented Jul 2, 2014

Make atom.io some override to $PATH or using from environment?

@abtris
Copy link
Author

abtris commented Jul 2, 2014

@nshtg
Copy link
Contributor

nshtg commented Jul 2, 2014

I saw that too. Does the problem persist if you start atom from zsh?

@abtris
Copy link
Author

abtris commented Jul 2, 2014

Yes

@abtris
Copy link
Author

abtris commented Jul 2, 2014

Solved by edit /usr/local/bin/atom and add env to open atom with this options as in advice at link.

@abtris abtris closed this as completed Jul 2, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants