Update env
This commit is contained in:
		
							parent
							
								
									16e5256542
								
							
						
					
					
						commit
						67b66fdeed
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		
							
								
								
									
										5
									
								
								env/20_services.zsh
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								env/20_services.zsh
									
										
									
									
										vendored
									
									
								
							|  | @ -1,4 +1,9 @@ | ||||||
| if [[ $DISPLAY && $UID != 0 ]]; then | if [[ $DISPLAY && $UID != 0 ]]; then | ||||||
| 	export SVDIR="$HOME/.local/session_service" | 	export SVDIR="$HOME/.local/session_service" | ||||||
| 	export SVDIR_TEMPLATES="$HOME/.service-available" | 	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 | 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 crater2150
						crater2150