DhavalKapil / luaver

Lua Version Manager - Managing and switching between different versions of Lua, LuaJIT and Luarocks made easy
https://dhavalkapil.com/luaver
MIT License
264 stars 33 forks source link

Append automatically to .zshrc if present #52

Open apsdehal opened 6 years ago

apsdehal commented 6 years ago

Currently, it is only appending to .bashrc

DhavalKapil commented 6 years ago

I didn't understand. Do you mean add to both if present? As in currently, it only detects the shell being run appends to the corresponding *.rc

apsdehal commented 6 years ago

I was running zsh, but it still appended to .bashrc. Maybe append to both if both are present.

It might be adding to bashrc because I hadn't changed shell of the user. I am using exec zsh to move to zsh :p .

DhavalKapil commented 6 years ago

I see. I'll figure out something and let you know. Thanks!