-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command prompt is broken when using zim on zshell #87
Comments
I can confirm that this is still an issue
|
Assuming your This should lead to no errors from kubie. |
Thanks, this works! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've recently migrated my zsh config to use
zim
. Unfortunately, this brokekubie
because it expects to find certain files in known locations:$ kubie ctx /Users/c10l/.zshrc:source:102: no such file or directory: /var/folders/2l/z3r2cq7j3hd79c4091tq42hr0000gn/T/.tmpc9w8CC/.zim/zimfw.zsh /Users/c10l/.zshrc:source:104: no such file or directory: /var/folders/2l/z3r2cq7j3hd79c4091tq42hr0000gn/T/.tmpc9w8CC/.zim/init.zsh /Users/c10l/.zlogin:source:7: no such file or directory: /var/folders/2l/z3r2cq7j3hd79c4091tq42hr0000gn/T/.tmpc9w8CC/.zim/login_init.zsh c10l@laptop ~ %
I managed to work around those errors by setting
ZIM_HOME=/Users/c10l/.zim
but then something else broke as it tries to find.zimrc
under$HOME
, which is overridden at that point to the kubie temp dir:$ kubie ctx _zimfw_source_zimrc:source:3: no such file or directory: /var/folders/2l/z3r2cq7j3hd79c4091tq42hr0000gn/T/.tmp7RzL0l/.zimrc Failed to source /var/folders/2l/z3r2cq7j3hd79c4091tq42hr0000gn/T/.tmp7RzL0l/.zimrc /Users/c10l/.zim/modules/ohmyzsh/plugins/kubectl/kubectl.plugin.zsh:5: read-only file system: /kubectl_completion
Suggestion: allow me to give a list of files and directories to copy to the temp dir when switching contexts. This way I can specify
.zimrc
and.zim/
which should make this work.The text was updated successfully, but these errors were encountered: