2022-05-30 10:42:24 +02:00
|
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
echo "### installation de emacs avec la config TK"
|
|
|
|
|
echo "### ce script suppose que vous ayez Apt et Bash"
|
|
|
|
|
|
2022-07-06 16:16:12 +02:00
|
|
|
|
|
|
|
|
|
username="tykayn"
|
|
|
|
|
|
2022-05-30 10:42:24 +02:00
|
|
|
|
sudo apt install snapd
|
|
|
|
|
snap install emacs --channel-beta --classic
|
|
|
|
|
emacs --version
|
|
|
|
|
|
|
|
|
|
mkdir -p ~/Nextcloud/textes/orgmode/org-roam
|
|
|
|
|
mkdir -p ~/Nextcloud/textes/library
|
|
|
|
|
|
|
|
|
|
rm -rf ~/.emacs.d
|
|
|
|
|
|
2022-08-03 11:56:56 +02:00
|
|
|
|
cp ~/.emacs .emacs_backup
|
|
|
|
|
|
2022-07-06 16:16:12 +02:00
|
|
|
|
wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/.emacs "/home/$username/"
|
|
|
|
|
wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/config.org "/home/$username/Nextcloud/textes/orgmode/"
|
|
|
|
|
wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/tasks.org "/home/$username/Nextcloud/textes/orgmode/"
|
|
|
|
|
wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/bulma.min.css "/home/$username/Nextcloud/textes/orgmode/"
|
|
|
|
|
wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/style.css "/home/$username/Nextcloud/textes/orgmode/"
|
|
|
|
|
wget https://forge.chapril.org/tykayn/scripts/raw/branch/master/assets/org/upcalendar.sh "/home/$username/Nextcloud/textes/orgmode/"
|
2022-05-30 10:42:24 +02:00
|
|
|
|
|
2022-08-03 11:56:56 +02:00
|
|
|
|
#
|
2022-05-30 10:42:24 +02:00
|
|
|
|
|
2022-08-03 11:56:56 +02:00
|
|
|
|
# run emacs
|
2022-05-30 10:42:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "### voilà, ça c'est fait"
|
2022-08-03 11:56:56 +02:00
|
|
|
|
|
|
|
|
|
snap run emacs
|