}
# date with all digits in a format i like
dtd() {
- date +%F_%T% "$@"
+ date +%F_%T "$@"
}
ccomp date dt dtr dtd
sudo /a/exe/lnf -T /a/f /f
sudo /a/exe/lnf -T /var/log/exim4 /el
sudo /a/exe/lnf -T /a/f/ans /c
+sudo chown iank:iank /nocow/t
+sudo chmod 700 /nocow/t
sudo /a/exe/lnf -T /nocow/t /t
if has_p; then
lnf -T /p/News ~/News
fi
if [[ ! -e /usr/share/debootstrap/scripts/noble ]]; then
- # noble debootstrap as of 2024-07-05. not going to bother
+ # dir from within /a/opt/debootstrap_1.0.134ubuntu1_all.deb noble debootstrap as of 2024-07-05. not going to bother
# adding a whole repo for one package which doesn't seem to generally change within a single distro version.
- sudo dpkg -i /a/opt/debootstrap_1.0.134ubuntu1_all.deb
+ rsync -ra /a/opt/debootstrap_1.0.134ubuntu1_all-scripts/ /usr/share/debootstrap/scripts
fi
;;&
shopt -s extglob nullglob
echo '[Default Applications]' >/etc/xdg/defaults.list
+# make these be the default for everything they can handle
sed -r '/^MimeType=/!d;s/^MimeType=//;s/;/=mpv.desktop\n/g' /usr/share/applications/mpv.desktop >>/etc/xdg/defaults.list
+sed -r '/^MimeType=/!d;s/^MimeType=//;s/;/=org.gnome.Evince.desktop\n/g' /usr/share/applications/org.gnome.Evince.desktop >>/etc/xdg/defaults.list
echo x-scheme-handler/mailto=emacsmail.desktop >>/etc/xdg/defaults.list