ttp: fix unset subcmd

This commit is contained in:
teutat3s 2022-04-26 11:20:22 +02:00
parent 8e2037ef4a
commit 08d0f49f3a
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -57,7 +57,7 @@
ttp() { ttp() {
if [[ "$1" == "set" ]]; then if [[ "$1" == "set" ]]; then
if [[ -n "$2" ]]; then if [[ -n "$2" ]]; then
source unset-env.sh source ${tritonshell.packages.${pkgs.system}.triton-utils}/bin/unset-env.sh
triton profile set "$2" triton profile set "$2"
fi fi
source ${tritonshell.packages.${pkgs.system}.triton-docker-env}/bin/triton-docker-env.sh source ${tritonshell.packages.${pkgs.system}.triton-docker-env}/bin/triton-docker-env.sh