diff --git a/.bash_aliases b/.bash_aliases index c80147e..9b86af4 100755 --- a/.bash_aliases +++ b/.bash_aliases @@ -206,3 +206,8 @@ ipin() { # Make the API call and prettify the JSON response curl -s "$endpoint" | jq . } +# Tere function +tere() { + local result=$(command tere "$@") + [ -n "$result" ] && cd -- "$result" +}