Tarrasch / zsh-autoenv

Autoenv for zsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change format of "not authenticated" message?

blueyed opened this issue · comments

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.

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

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. :)

Merged into master.