From 40169658d9b93f310fe3bf88e36934fcac141cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=9A=E4=BB=81=28Buo-ren=20Lin=29?= Date: Mon, 26 Oct 2026 22:04:21 +0800 Subject: [PATCH] docs: drop duplicate content in the environment variables reference documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Duplicate with the one in the "List environment variables" section. Signed-off-by: ๆž—ๅšไป(Buo-ren Lin) --- .../reference/development/environment-variables.md | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/docs/reference/development/environment-variables.md b/docs/reference/development/environment-variables.md index a9329f1f..83c507e5 100644 --- a/docs/reference/development/environment-variables.md +++ b/docs/reference/development/environment-variables.md @@ -26,20 +26,6 @@ SNAP_COMMON=/var/snap//common ## Snap specific environment variables -Each snap runs in a custom environment specifically made for it. To get an overview of the variables in it, you can open a shell as the snap and run the `env` command. - -``` -$ snap run --shell . -$ env -XDG_VTNR=1 -SSH_AGENT_PID=5543 -XDG_SESSION_ID=2 -SNAP_USER_COMMON=/home//snap//common -SNAP_LIBRARY_PATH=/var/lib/snapd/lib/gl: -SNAP_COMMON=/var/snap//common -[...] -``` - ###
SNAP
Directory where the snap is mounted. This is where all the files in your snap are visible in the filesystem.