Tarrasch / zsh-autoenv

Autoenv for zsh
700 stars 30 forks source link

Change format of "not authenticated" message? #9

Closed blueyed closed 9 years ago

blueyed commented 10 years ago

I think it might be better to use the output from ls -l with the confirmation message:

Attempting to load unauthorized env file:
-rw-rw-r-- 1 user user 134 Nov 23 14:10 path/to/.env

What do you think?

This should get changed on top of the next branch then.

blueyed commented 10 years ago

@Tarrasch What's your opinion on this? I would do this now also, while touching this output part anyway now.

Tarrasch commented 9 years ago

I think it's good. I think it would also be nice that if you're loading a .env file that's 2 folder hierarchies up, it would explicitly say that in bold.

$ cd ~/path/to/abc/def
Attempting to load unauthorized env file from **2** folders up:
-rw-rw-r-- 1 user user 134 Nov 23 14:10 /home/arash/path/to/.env

Just an idea. :)

blueyed commented 9 years ago

Merged into master.