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:
Aminda Suomalainen 2015-06-02 08:18:56 +03:00
parent 7c87d11162
commit 3606e5f116
2 changed files with 4 additions and 4 deletions

View File

@ -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/

View File

@ -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/