Added comments

Added imgur screenshot
pull/54/head
Ryan Kanno 2011-06-07 08:25:45 -10:00
parent f9b31e9f23
commit dcb0ddec2f
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@
# - hg, svn, git detection (I work in all of them) # - hg, svn, git detection (I work in all of them)
# - virtualenv, rvm + gemsets # - virtualenv, rvm + gemsets
# #
# Screenshot: # Screenshot: http://i.imgur.com/4IAMJ.png
# #
# by Ryan Kanno <ryankanno@localkinegrinds.com> # by Ryan Kanno <ryankanno@localkinegrinds.com>
# #
@ -60,6 +60,8 @@ MAX_PWD_LENGTH=20
MAX_GIT_HEX_LENGTH=5 MAX_GIT_HEX_LENGTH=5
# FUNCS ======================================================================= # FUNCS =======================================================================
# TODO: Should check with `uname` and use ip addr
function ip { function ip {
echo $(ifconfig en1 | grep "inet " | awk '{ print $2 }') echo $(ifconfig en1 | grep "inet " | awk '{ print $2 }')
} }