<reponame>ThePhilgrim/porcupine<gh_stars>0
"""
If you want to write more plugins, that's great! Have a look at the documentation:

    https://akuli.github.io/porcupine/
"""

import os
from typing import List

from porcupine import dirs

# simple hack to allow user-wide plugins
__path__: List[str]
__path__.insert(0, os.path.join(dirs.user_config_dir, "plugins"))

"""
If you want to write more plugins, that's great! Have a look at the documentation:

    https://akuli.github.io/porcupine/
"""

import os
from typing import List

from porcupine import dirs

# simple hack to allow user-wide plugins
__path__: List[str]
__path__.insert(0, os.path.join(dirs.user_config_dir, "plugins"))
If you want to write more plugins, that's great! Have a look at the documentation:      https://akuli.github.io/porcupine/ # simple hack to allow user-wide plugins