Skip to content

Commit

Permalink
adding ipinfo and removing bot function
Browse files Browse the repository at this point in the history
  • Loading branch information
atomantic authored Nov 14, 2018
1 parent 3481d04 commit 45e214a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions homedir/.shellfn
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
#########################################
# Utility Functions

function bot() {
ESC_SEQ="\x1b["
echo
echo -e "$ESC_SEQ"32;01m\[._.]/$ESC_SEQ"39;49;00m - "$1
}

# Create a new git repo with one README commit and CD into it
function gitnr() { mkdir $1; cd $1; git init; touch README; git add README; git commit -mFirst-commit;}

Expand Down Expand Up @@ -117,7 +111,9 @@ function tre(){
tree -aC -I '.git|node_modules|bower_components|.DS_Store' --dirsfirst "$@"
}

## weather seattle
function weather() {
curl wttr.in/$1
}
function ipinfo(){
curl ipinfo.io/$1
}

0 comments on commit 45e214a

Please sign in to comment.