GithubHelp home page GithubHelp logo

feat: Get plugin directory about zi HOT 8 CLOSED

z-shell avatar z-shell commented on May 29, 2024
feat: Get plugin directory

from zi.

Comments (8)

ss-o avatar ss-o commented on May 29, 2024 1

Hey @cristianriano 👋,

Could you provide more details as your description matches some of the existing features :octocat:

Or simply join https://matrix.to/#/#zi:matrix.org for a discussion 🙊 🙃

Thanks,
@ss-o

from zi.

cristianriano avatar cristianriano commented on May 29, 2024 1

Oh thank you very much! That's exactly what I needed!

MY_PLUGIN_HOME=$ZI[PLUGINS_DIR]/my-plugin

from zi.

jwdevelab avatar jwdevelab commented on May 29, 2024

Hey, @cristianriano,

You have in mind something like this?

from zi.

ss-o avatar ss-o commented on May 29, 2024

Hey 👋 @cristianriano,

help us to make ZI Global 🌐 :octocat: 🙃 🤞

Spanish translations: https://digitalclouds.crowdin.com/z-shell/es

from zi.

cristianriano avatar cristianriano commented on May 29, 2024

Hey @ss-o and @jwdevelab

Thanks for both your replies.
Basically what I was expecting is a command where you can get in return what's the folder path where a plugin is installed.

Context: I want to set some ENV variables based on the path where the plugin code is. Something like this:

MY_PLUGIN_HOME=$(zi dir my_plugin)

Perhaps is already supported but I just don't know how to do it 😅

PS: I will take a look at the Spanish translations if I can help @ss-o

from zi.

ss-o avatar ss-o commented on May 29, 2024

It also seems to exist 🙃,

You can use ZI internal variables: https://asciinema.org/a/472561

Docs: https://z.digitalclouds.dev/docs/guides/customization#ZI[PLUGINS_DIR]

Let me know if correct or need additional support :octocat: 👍

from zi.

ss-o avatar ss-o commented on May 29, 2024

No problem, contact me any time. Also if will need help to get started with translations.

Or just join: https://matrix.to/#/#zi:matrix.org

@ss-o

from zi.

github-actions avatar github-actions commented on May 29, 2024

Issue closed and locked due to lack of activity.
If you encounter this same issue, please open a new issue and refer to this closed one.

from zi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.