Update env
This commit is contained in:
parent
16e5256542
commit
67b66fdeed
5
env/20_services.zsh
vendored
5
env/20_services.zsh
vendored
|
@ -1,4 +1,9 @@
|
|||
if [[ $DISPLAY && $UID != 0 ]]; then
|
||||
export SVDIR="$HOME/.local/session_service"
|
||||
export SVDIR_TEMPLATES="$HOME/.service-available"
|
||||
elif [[ $UID != 0 ]]; then
|
||||
export SVDIR=$HOME/.service
|
||||
export SVDIR_TEMPLATES="$HOME/.service-available"
|
||||
else
|
||||
export SVDIR_TEMPLATES="/etc/sv"
|
||||
fi
|
||||
|
|
4
env/90_podman-socket.zsh
vendored
Normal file
4
env/90_podman-socket.zsh
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
if command -v podman &>/dev/null; then
|
||||
export DOCKER_SOCKET=$(podman system info -f '{{.Host.RemoteSocket.Path}}')
|
||||
export DOCKER_HOST=unix://$DOCKER_SOCKET
|
||||
fi
|
Loading…
Reference in a new issue