Initial commit

This commit is contained in:
2025-03-18 19:21:17 +01:00
commit 8303887c16
137 changed files with 4067 additions and 0 deletions

19
completions/mailctl.fish Normal file
View File

@@ -0,0 +1,19 @@
function _mailctl
set -l cl (commandline --tokenize --current-process)
# Hack around fish issue #3934
set -l cn (commandline --tokenize --cut-at-cursor --current-process)
set -l cn (count $cn)
set -l tmpline --bash-completion-enriched --bash-completion-index $cn
for arg in $cl
set tmpline $tmpline --bash-completion-word $arg
end
for opt in (/usr/bin/mailctl $tmpline)
if test -d $opt
echo -E "$opt/"
else
echo -E "$opt"
end
end
end
complete --no-files --command mailctl --arguments '(_mailctl)'