forked from pub-solar/os
ttp: fix unset subcmd
This commit is contained in:
parent
8e2037ef4a
commit
08d0f49f3a
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue