Skip to content

Commit

Permalink
Add myip command for grabbing my WAN ip address.
Browse files Browse the repository at this point in the history
  • Loading branch information
judy-zz committed Dec 2, 2013
1 parent d06923c commit 750518e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config.fish
Expand Up @@ -24,6 +24,10 @@ function mkcd
mkdir $argv; and cd $argv
end

function myip
curl ipecho.net/plain; echo
end

function fish_prompt
~/.config/fish/powerline-shell/powerline-shell.py $status --shell bare ^/dev/null
end
Expand Down

0 comments on commit 750518e

Please sign in to comment.