Add Emacs desktop provisioning and dev toolchain packages

Install Emacs and copy the desktop .emacs.d config so the editor setup is managed with the rest of desktop dotfiles. Add vterm/build/debug dependencies plus C/C++ and Go tooling needed by the configured workflow.
This commit is contained in:
Fabio Scotto di Santolo
2026-03-17 11:50:59 +01:00
parent fa457c4a42
commit 0826265363
148 changed files with 2048 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
#key: args
# --
read_user_input() {
local opts=
opts=$(getopt \
-o hr:nv \
--long help \
--long version: \
--long dry-run \
--long verbose \
-n 'parse-options' \
-- "$@")
if [ $? != 0 ] ; then
echo "Failed parsing options." >&2
exit 1
fi
eval set -- "$opts"
while true; do
case "\$1" in
-h | --help)
print_help;
exit 0
break;;
-r | --version)
export version=\$2
shift 2;;
-n | --dry-run)
export dry_run=1
shift;;
-v | --verbose)
export verbose=1
shift;;
-- )
shift;
break ;;
* )
break ;;
esac
done
export rest_of_args=$*
}