mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-04 00:36:58 +03:00
79f8bf0a58
Rely on zsh features to simplify profile_zsh.sh file. - Remove `DADE_REPO_ROOT` as it is not needed anywhere, `dade-assist` redefines it already. - `${0:A:h}` gives the absolute path of the folder *this* file resides in, no need for `cd`, `dirname`, and `pwd` combo. - Use simple process redirection (`<`), as it is more robust than the one in bash, and works better than `<<<`
7 lines
217 B
Bash
7 lines
217 B
Bash
# Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# DADE shell profile compatible with zsh.
|
|
|
|
source <("${0:A:h}"/bin/dade assist)
|