import.sh

NAME

import.sh - import bash modules into scripts or into interactive shell

SYNOPSIS

In a scipt:

At command line:

DESCRIPTION

Imports given module(s) into current shell.

Use:

CONFIGURATION

Example configration file

Put following snippet into ~/.config/bash-modules/config.sh file:


    # Enable stack trace printing for warnings and errors,
    # like with --debug option:
    __log__STACKTRACE=="yes"

    # Add additional directory to module search path:
    BASH_MODULES_PATH="/home/user/my-bash-modules"

VARIABLES

FUNCTIONS