summaryrefslogtreecommitdiff
path: root/.zsh/functions/cci
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.zsh/functions/cci3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zsh/functions/cci b/.zsh/functions/cci
index 669f08f..5693440 100644
--- a/.zsh/functions/cci
+++ b/.zsh/functions/cci
@@ -24,6 +24,9 @@ TRAPEXIT ()
unfunction ask log
}
+# ignore a -m
+[[ $1 == "-m" ]] && shift
+
if [[ $# == 0 ]]; then
echo "No message given. Aborting."
return 1