aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/aliases.zsh2
-rwxr-xr-xbin/checkip3
2 files changed, 4 insertions, 1 deletions
diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh
index 6598edb..8e5d849 100644
--- a/.zsh.after/aliases.zsh
+++ b/.zsh.after/aliases.zsh
@@ -105,7 +105,7 @@ alias yadb='yaourt -B $HOME/Dropbox/sync/archlinux' # Backs up the ya
-[ -e ~/Dropbox/sync/archlinux ] && source ~/Dropbox/sync/archlinux/handies.bashrc && source ~/Dropbox/sync/archlinux/color.bashrc && source ~/Dropbox/sync/archlinux/pacman.bashrc && source ~/Dropbox/sync/archlinux/systemd.bashrc
+#[ -e ~/Dropbox/sync/archlinux ] && source ~/Dropbox/sync/archlinux/handies.bashrc && source ~/Dropbox/sync/archlinux/color.bashrc && source ~/Dropbox/sync/archlinux/pacman.bashrc && source ~/Dropbox/sync/archlinux/systemd.bashrc
alias cpx="xclip -selection clipboard"
diff --git a/bin/checkip b/bin/checkip
new file mode 100755
index 0000000..f7f2f4c
--- /dev/null
+++ b/bin/checkip
@@ -0,0 +1,3 @@
+#!/bin/bash
+ip=`curl -s http://checkip.dyndns.org | sed 's/[a-zA-Z/<> :]//g'`
+echo "$ip"