summaryrefslogtreecommitdiff
path: root/tests/_setup_alias
diff options
context:
space:
mode:
authorTobias Brox <tobias@redpill-linpro.com>2023-05-18 10:26:50 +0200
committerTobias Brox <tobias@redpill-linpro.com>2023-05-18 10:26:50 +0200
commit2dd2577e77df7d4d6bd31955de40ae0259a17f72 (patch)
treea72ac3b8a39daa2ade54ae798490965f562c26f8 /tests/_setup_alias
parenteb7b58baee6525ce5426ed926ba4154756653516 (diff)
downloadcalendar-cli-2dd2577e77df7d4d6bd31955de40ae0259a17f72.zip
cleaned out yet some of the 'new generation' stuff from the documenatation
Diffstat (limited to 'tests/_setup_alias')
-rw-r--r--tests/_setup_alias10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/_setup_alias b/tests/_setup_alias
index 0f2c6de..223467e 100644
--- a/tests/_setup_alias
+++ b/tests/_setup_alias
@@ -13,18 +13,8 @@ error() {
[ -z "$calendar_cli" ] && [ -x ../calendar-cli.py ] && calendar_cli=../calendar-cli.py
[ -z "$calendar_cli" ] && error "couldn't find ./calendar_cli.py nor ../calendar_cli.py"
-[ -z "$kal" ] && [ -x ./cal.py ] && kal=./cal.py
-[ -z "$kal" ] && [ -x ../cal.py ] && kal=../cal.py
-[ -z "$kal" ] && error "couldn't find ./cal.py nor ../cal.py"
-
calendar_cli() {
echo " $calendar_cli $@"
output=$($calendar_cli "$@" | tee $outfile)
[ -z "$output" ] || [ -z "$QUIET" ] || echo $output
}
-
-kal() {
- echo " $kal $@"
- output=$($kal "$@" | tee $outfile)
- [ -z "$output" ] || [ -z "$QUIET" ] || echo $output
-}