summaryrefslogtreecommitdiffstats
path: root/roles/common/files/zshrc
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2017-06-14 01:51:13 +0200
committerMatthieu Saulnier <fantom@fedoraproject.org>2017-06-14 01:51:13 +0200
commit1b7a4141c42e7923e84312b8e5ceaf0da2a698cf (patch)
tree829f090889b009a47e88aef2f500dba4e2fbac3c /roles/common/files/zshrc
parent3c52b36c4c1218475d568b193af4c1a3a7229e82 (diff)
downloadplaybooks-ansible-1b7a4141c42e7923e84312b8e5ceaf0da2a698cf.tar.gz
playbooks-ansible-1b7a4141c42e7923e84312b8e5ceaf0da2a698cf.tar.xz
playbooks-ansible-1b7a4141c42e7923e84312b8e5ceaf0da2a698cf.zip
add IP4 option to get ipv4 address when IP6 is default routage
Diffstat (limited to 'roles/common/files/zshrc')
-rw-r--r--roles/common/files/zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/common/files/zshrc b/roles/common/files/zshrc
index 67a9e8d..8484607 100644
--- a/roles/common/files/zshrc
+++ b/roles/common/files/zshrc
@@ -29,6 +29,7 @@ alias f='find . -iname'
alias up='popd'
alias pop='popd'
alias myip='curl https://lancaster.casperlefantom.net:4433/ipclient.php'
+alias myip4='curl -4 https://lancaster.casperlefantom.net:4433/ipclient.php'
alias torip='torsocks curl https://lancaster.casperlefantom.net:4433/ipclient.php'
alias beep='echo -e "\a"'
alias screenoff='xset dpms force off'