dotwryn/config/code-activator.conf
2022-04-20 12:52:01 -06:00

58 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# cloned projects will be nested under the specified directories,
# allowing for meaningful project grouping. A friendly name is
# derived from the path
#
# e.g. "$HOME/Projects/GitHub" will be called "GitHub" in the CLI
#
# directories must be fully-qualified
CA__DIRS=(
$(find "$HOME/Projects" -mindepth 1 -maxdepth 1 -type d | sed 's/\/$//')
)
# additional cloning targets; MUST END IN ':' or '/'
# e.g. 'git@my.githost.com:' or 'git@github.com:w0ryn/'
CA__KNOWN_TARGETS=(
'git@yage.io:wrynegade/'
'git@yage.io:zsh/'
'git@yage.io:go/'
'git@yage.io:gizmos/'
'git@yage.io:python/'
'git@yage.io:archives/'
'git@yage.io:rentdynamics/'
'git@github.com:wrynegade/'
'git@github.com:RentDynamics/'
'git@bitbucket.org:wrynegade/'
'https://yage.io/'
'https://github.com/'
'https://bitbucket.org/'
)
# run from the specified hot-key
CA__SHORTCUT='' # CTRL+SPACE
# run from the specified alias
CA__ALIAS='lkj'
# enable / disable the shortcut / alias
# 0 = enabled 1 = disabled
CA__DISABLE_SHORTCUT=0
CA__DISABLE_ALIAS=0
# structure options
#
# where LOCAL_PROJECT_NAME is provided through the API / CLI,
# the plugin will attempt to create the following structure:
#
# LOCAL_PROJECT_NAME
# | SOURCE_DIR << cloned repository
# | VIRTUAL_ENV << the project's virtual environment
# | CUSTOM_ENV << CODE_ACTIVATOR's custom environment variables file
# | NO_ENV << CODE_ACTIVATOR sentinel to avoid prompting env setup
CA__SOURCE_DIR='code'
CA__VIRTUAL_ENV='env'
CA__CUSTOM_ENV='custom-env'
CA__NO_ENV='no-env'