From 6cb1b73836c30b19022a90aa79c00e034b770f01 Mon Sep 17 00:00:00 2001 From: Julian Schneider Date: Mon, 30 Oct 2023 14:38:47 +0100 Subject: [PATCH 1/2] Chown mountpoint at installation, not at login --- src/shell-history/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shell-history/install.sh b/src/shell-history/install.sh index 34bc980..9ebdba3 100644 --- a/src/shell-history/install.sh +++ b/src/shell-history/install.sh @@ -25,7 +25,6 @@ if [[ -z "\$HISTFILE_OLD" ]]; then fi export HISTFILE=/dc/shellhistory/.bash_history export PROMPT_COMMAND='history -a' -sudo chown -R $_REMOTE_USER /dc/shellhistory EOF chown -R $_REMOTE_USER $_REMOTE_USER_HOME/.bashrc @@ -33,7 +32,6 @@ chown -R $_REMOTE_USER $_REMOTE_USER_HOME/.bashrc cat << EOF >> "$_REMOTE_USER_HOME/.zshrc" export HISTFILE=/dc/shellhistory/.zsh_history export PROMPT_COMMAND='history -a' -sudo chown -R $_REMOTE_USER /dc/shellhistory EOF chown -R $_REMOTE_USER $_REMOTE_USER_HOME/.zshrc @@ -49,6 +47,8 @@ if test -f \$history_location mv \$history_location "\$history_location-old" end ln -s /dc/shellhistory/fish_history \$history_location -sudo chown -R $_REMOTE_USER \$history_location EOF chown -R $_REMOTE_USER $_REMOTE_USER_HOME/.config/ + +mkdir -p /dc/shellhistory +chown -R $_REMOTE_USER /dc/shellhistory \ No newline at end of file From 616a83e28d0e5ef425f923478d1b03f4566853ca Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 6 Dec 2023 10:41:03 +0000 Subject: [PATCH 2/2] Automated documentation update [skip ci] --- src/dev-tunnels/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dev-tunnels/README.md b/src/dev-tunnels/README.md index d1700ab..c4e2f29 100644 --- a/src/dev-tunnels/README.md +++ b/src/dev-tunnels/README.md @@ -7,9 +7,7 @@ Set up the `devtunnel` CLI for working with [Dev Tunnels](https://learn.microsof ```json "features": { - "ghcr.io/stuartleeks/dev-container-features/dev-tunnels:0": { - "version": "latest" - } + "ghcr.io/stuartleeks/dev-container-features/dev-tunnels:0": {} } ```