Disable graphic start from .zprofile temporarily
This commit is contained in:
		
							parent
							
								
									0ff85399df
								
							
						
					
					
						commit
						8ab4eb4344
					
				
					 2 changed files with 6 additions and 12 deletions
				
			
		
							
								
								
									
										12
									
								
								.zprofile
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								.zprofile
									
										
									
									
									
								
							|  | @ -3,11 +3,11 @@ | |||
| 
 | ||||
| if [ -x "$(command -v gpgconf)" ] | ||||
| then | ||||
|     ssh_sock=$(gpgconf --list-dirs agent-ssh-socket) | ||||
|     export SSH_AUTH_SOCK="$ssh_sock" | ||||
|     gpgconf --launch gpg-agent >/dev/null | ||||
| 	ssh_sock=$(gpgconf --list-dirs agent-ssh-socket) | ||||
| 	export SSH_AUTH_SOCK="$ssh_sock" | ||||
| 	gpgconf --launch gpg-agent >/dev/null | ||||
| fi | ||||
| 
 | ||||
| if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -le 3 ]; then | ||||
|     exec $AUTOSTART_DISPLAY | ||||
| fi | ||||
| #if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -le 3 ]; then | ||||
| #	exec $AUTOSTART_DISPLAY | ||||
| #fi | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue