From b034674ff233decbedbd0bc50a7dcc839204d500 Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Tue, 6 Aug 2024 15:18:10 -0700 Subject: [PATCH] client: superscript: remove share.d from $PATH Executables in share.d should be explicitly called, for better security. --- client/docker-finance.d/container/shell/superscript.bash.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/docker-finance.d/container/shell/superscript.bash.in b/client/docker-finance.d/container/shell/superscript.bash.in index 44debb8..734e3c3 100644 --- a/client/docker-finance.d/container/shell/superscript.bash.in +++ b/client/docker-finance.d/container/shell/superscript.bash.in @@ -28,7 +28,7 @@ PS1='\[\033[32m\]\u\[\033[00m\]@docker-finance:\[\033[1;30m\]\h \[\033[01;34m\]\ [[ -z "$DOCKER_FINANCE_CONTAINER_EDITOR" || -z "$DOCKER_FINANCE_CONTAINER_REPO" || -z "$DOCKER_FINANCE_CONTAINER_SHARED" || -z "$DOCKER_FINANCE_CONTAINER_CMD" ]] && echo "Environment not set, check installation" >&2 export EDITOR="$DOCKER_FINANCE_CONTAINER_EDITOR" -export PATH="$PATH:${HOME}/.local/bin:${DOCKER_FINANCE_CONTAINER_REPO}:${DOCKER_FINANCE_CONTAINER_SHARED}" +export PATH="$PATH:${HOME}/.local/bin:${DOCKER_FINANCE_CONTAINER_REPO}" # Base command alias alias docker-finance='$DOCKER_FINANCE_CONTAINER_CMD'