Skip to content
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

use dynamically initialized var for plugin dir #17

Merged
merged 1 commit into from
Jul 3, 2020

Conversation

jirgn
Copy link

@jirgn jirgn commented Jun 28, 2020

Using the specific path $ZSH_CUSTOM/plugins/flow does break compatiblity with https://getantibody.github.io/.
This pluginmanager creates a folder underneath ~/Library in the form ~/Library/Caches/antibody/https-COLON--SLASH--SLASH-github.com-SLASH-sandstorm-SLASH-oh-my-zsh-flow-plugin.

The Failing behavour looked exactly like #10 and #16

flow (eval):1: command not found: Could

To address this issue i created a global var which is initialized on plugin load with the relative path to the plugin file ($0).
I hope this also fixes the other issues

@skurfuerst
Copy link
Member

thank you :)

@skurfuerst skurfuerst merged commit b707736 into sandstorm:master Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants