added tere function to aliases file

This commit is contained in:
Brad Ganley 2023-08-05 00:14:45 -05:00
parent 79f0de702c
commit 79c84b3eda

View File

@ -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"
}