feat: add errout for interactive for script support and atty for clean output
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-23 21:35:10 +02:00
parent c9aacf0ecd
commit f0f81f8a0b
10 changed files with 137 additions and 21 deletions

View File

@@ -0,0 +1,15 @@
function git-now {
choice=$(gitnow "$@")
if [[ $? -ne 0 ]]; then
return $?
fi
cd "$(echo "$choice" | tail --lines 1)"
}
function gn {
git-now "$@"
if [[ $? -ne 0 ]]; then
return $?
fi
}