From 79c84b3eda7b747373f650ead78ba394082c8ee0 Mon Sep 17 00:00:00 2001 From: Brad Ganley Date: Sat, 5 Aug 2023 00:14:45 -0500 Subject: [PATCH] added tere function to aliases file --- .bash_aliases | 5 +++++ 1 file changed, 5 insertions(+) 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" +}