mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
19 lines
782 B
Plaintext
19 lines
782 B
Plaintext
|
# DEPRECATED. Base profile for both bash and zsh -*- shell-script -*-
|
||
|
#
|
||
|
# TODO(gleber): delete when `da-ops` and `nixBash` switches to `dade-dump-profile`.
|
||
|
# Sourcable wrapper around `dade-dump-profile`. See it for details.
|
||
|
|
||
|
# TODO(gleber): Compatibility mode until JBH is ugraded.
|
||
|
export DADE_DEVENV_DIR="${DADE_DEVENV_DIR:-${DADE_BASE:-}}"
|
||
|
|
||
|
# TODO(nikola): Compatibility mode until JBH is upgraded.
|
||
|
|
||
|
# This file is sourced from nixBash by setting BASH_ENV to point to
|
||
|
# dade-base-profile. The script in BASH_ENV is envoked automatically
|
||
|
# when a new shell is spawned, including when Bash invokes a shell
|
||
|
# script with '$()'. We must therefore unset the variable to avoid an
|
||
|
# infinite recursion.
|
||
|
unset BASH_ENV
|
||
|
|
||
|
source /dev/stdin <<< "$(${DADE_DEVENV_DIR}/lib/dade-dump-profile)"
|