From 8bce0f4f47df888ee3938feec4690bbf8cdc73e3 Mon Sep 17 00:00:00 2001 From: Ciro Lo Sapio Date: Mon, 30 Sep 2024 15:15:28 +0200 Subject: [PATCH] add new n98 alias: refresh --- src/alpine-n98-magerun2/devcontainer-feature.json | 2 +- src/alpine-n98-magerun2/install.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/alpine-n98-magerun2/devcontainer-feature.json b/src/alpine-n98-magerun2/devcontainer-feature.json index 74bc9e2..e341dad 100644 --- a/src/alpine-n98-magerun2/devcontainer-feature.json +++ b/src/alpine-n98-magerun2/devcontainer-feature.json @@ -1,7 +1,7 @@ { "name": "alpine-n98-magerun2", "id": "alpine-n98-magerun2", - "version": "0.0.17", + "version": "0.0.18", "description": "Installs n98-magerun2 on alpine", "documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-n98-magerun2", "legacyIds": [ diff --git a/src/alpine-n98-magerun2/install.sh b/src/alpine-n98-magerun2/install.sh index 58f8be2..84703f7 100644 --- a/src/alpine-n98-magerun2/install.sh +++ b/src/alpine-n98-magerun2/install.sh @@ -32,6 +32,7 @@ if command -v zsh &> /dev/null; then echo $'alias caf="n c:f"' >> $_CONTAINER_USER_HOME/.zshrc echo $'alias cf="n c:f"' >> $_CONTAINER_USER_HOME/.zshrc echo $'alias reindex="n i:rei"' >> $_CONTAINER_USER_HOME/.zshrc + echo $'alias refresh="rm -rf generated/** && caf"' >> $_CONTAINER_USER_HOME/.zshrc echo $'alias catalog="n dev:urn-catalog:generate .vscode/catalog_tmp.xml"' >> $_CONTAINER_USER_HOME/.zshrc fi