From 43700b25622daae627017656947ccd871f56601d Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 11 Feb 2025 15:07:52 +0100 Subject: [PATCH] add shell command --- abra.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/abra.sh b/abra.sh index 2687a5c..2d645d5 100644 --- a/abra.sh +++ b/abra.sh @@ -35,6 +35,15 @@ customize() { done } +shell(){ + if [ -z "$1" ] + then + echo "Usage: ... shell " + exit 1 + fi + ak shell -c "$1" 2>&1 | quieten +} + import_user() { if [ -z "$1" ] then