kubie
kubie copied to clipboard
Copy ZDOTDIR if configured
Dependent files can be present in ZDOTDIR
if the user has configured it. This PR simply copies its contents.
I realise this is not an optimal solution; if you have a lot of plugins in ZDOTDIR
, copying it in its entirety may bring considerable overhead.
However, it does effectively solve the reported problem.
This fixes #132
Feedback more than welcome! 🙂
Perhaps instead we can create a symbolic link to ZDOTDIR? Honestly that sounds pretty logical. I'll see if I can update and test.
After some more thinking and tinkering, using a symbolic link may not be the greatest idea after all. This script would then also overwrite the existing .zshrc
. We could consider creating and sourcing .zshrc.kubie
, but I think that should be sourced before the user's original .zshrc
.