switch to John's (aka Claude's) docker shim
This commit is contained in:
1 parent
fd1cf0dbe7
commit
1922a414ac
2 files changed
+14
No files matched your search
@@ -32,4 +32,6 @@ auto_prune = false
|
|||||||
[settings.python]
|
[settings.python]
|
||||||
uv_venv_auto = true
|
uv_venv_auto = true
|
||||||
|
|
||||||
|
[env]
|
||||||
|
_.path = "~/.local/bin"
|
||||||
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if omarchy-sudo-docker; then
|
||||||
|
exec pkexec --keep-cwd env \
|
||||||
|
DOCKER_CONFIG="$HOME/.docker" \
|
||||||
|
PATH="/usr/local/bin:/usr/bin:$HOME/.local/bin" \
|
||||||
|
XDG_RUNTIME_DIR="/run/user/$(id -u)" \
|
||||||
|
/usr/bin/docker "$@"
|
||||||
|
else
|
||||||
|
exec /usr/bin/docker "$@"
|
||||||
|
fi
|
||||||
|
|
||||||
Reference in new issue
Block a user