mirror of
				https://gitea.blesmrt.net/mikaela/shell-things.git
				synced 2025-10-31 09:27:20 +01:00 
			
		
		
		
	rc: add trailing space to myip's
`2015-06-01 22:12:20+0300 < jima> without the trailing dot you run the risk of it appending the search domain from dhcp, which, in some cases, can have "interesting" results`
This commit is contained in:
		
							parent
							
								
									7c87d11162
								
							
						
					
					
						commit
						3606e5f116
					
				| @ -372,8 +372,8 @@ alias gpg-key-count="gpg --export -a|gpg --import" | ||||
| alias follow="tail -F" | ||||
| 
 | ||||
| #myip shows current IP. This was a function. | ||||
| alias myip4="dig +short myip.opendns.com A @208.67.222.222" | ||||
| alias myip6="dig +short myip.opendns.com AAAA @2620:0:ccc::2" | ||||
| alias myip4="dig +short myip.opendns.com. A @208.67.222.222" | ||||
| alias myip6="dig +short myip.opendns.com. AAAA @2620:0:ccc::2" | ||||
| alias myip="myip4 && myip6" | ||||
| 
 | ||||
| # Update groups without logging out. Requires entering password. Source: http://blog.edwards-research.com/2010/10/linux-refresh-group-membership-without-logging-out/ | ||||
|  | ||||
							
								
								
									
										4
									
								
								rc/zshrc
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								rc/zshrc
									
									
									
									
									
								
							| @ -357,8 +357,8 @@ alias gpg-key-count="gpg --export -a|gpg --import" | ||||
| alias follow="tail -F" | ||||
| 
 | ||||
| #myip shows current IP. This was a function. | ||||
| alias myip4="dig +short myip.opendns.com A @208.67.222.222" | ||||
| alias myip6="dig +short myip.opendns.com AAAA @2620:0:ccc::2" | ||||
| alias myip4="dig +short myip.opendns.com. A @208.67.222.222" | ||||
| alias myip6="dig +short myip.opendns.com. AAAA @2620:0:ccc::2" | ||||
| alias myip="myip4 && myip6" | ||||
| 
 | ||||
| # Update groups without logging out. Requires entering password. Source: http://blog.edwards-research.com/2010/10/linux-refresh-group-membership-without-logging-out/ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user