Updated .emacs a bit and changed install.sh to install-deb and install-arch

This commit is contained in:
Nathan Schneider
2019-11-29 23:07:14 -07:00
parent 047b2a1aee
commit c602013e3b
4 changed files with 82 additions and 32 deletions
+6 -1
View File
@@ -17,8 +17,12 @@
(add-to-list 'load-path "~/.emacs.d/lisp/") (add-to-list 'load-path "~/.emacs.d/lisp/")
;; SOME BASIC PREFERENCES ;; SOME BASIC PREFERENCES
;; turns off the menu at top ;; Eliminates initial splash screen
(setq inhibit-startup-message t
inhibit-startup-echo-area-message t)
;; turns off the menus at top
(menu-bar-mode -1) (menu-bar-mode -1)
(tool-bar-mode -1)
;; enable longlines-mode for text files ;; enable longlines-mode for text files
(add-hook 'text-mode-hook 'visual-line-mode) (add-hook 'text-mode-hook 'visual-line-mode)
;; load word-count tools, use "wc" command to get instant count ;; load word-count tools, use "wc" command to get instant count
@@ -135,3 +139,4 @@
(shell-command (concat "xdg-open " tmp-out-file)) (shell-command (concat "xdg-open " tmp-out-file))
) )
) )
(put 'downcase-region 'disabled nil)
+37
View File
@@ -0,0 +1,37 @@
#!/bin/bash
# Install script for ntnsndr Deb environment
echo "Beginning install script for ntnsndr Arch environment"
# First, some basic utilities MAKE ARCH-COMPATIBLE
sudo apt-get -y install xdg-open
# Next, core apps
# TO DO nextcloud
# TO DO keepassxc
# TO DO git
# emacs MAKE ARCH-COMPATIBLE
sudo apt-get -y install emacs-gtk
sudo apt-get -y install elpa-markdown-mode
mkdir -p ~/.emacs.d/ && mkdir -p ~/.emacs.d/lisp/
cd ~/.emacs.d/lisp/
&& git clone git://github.com/bnbeckwith/wc-mode.git
# pandoc MAKE ARCH-COMPATIBLE
sudo apt-get -y install pandoc
sudo apt-get -y install pandoc-citeproc
sudo apt-get -y install texlive
# revealjs
# TO DO: https://github.com/hakimel/reveal.js/
# zotero
echo "Go to https://www.zotero.org/download/, download, and put contents in /opt/zotero/ (using sudo)"
echo "Done? Hit Enter"
read response
sudo /opt/zotero/set_launcher_icon
ln -s /opt/zotero/zotero.desktop ~/.local/share/applications/zotero.desktop
# If we change location, update that in .emacs AND pandout.sh script
echo "Installation script complete"
+37
View File
@@ -0,0 +1,37 @@
#!/bin/bash
# Install script for ntnsndr Deb environment
echo "Beginning install script for ntnsndr Deb environment"
# First, some basic utilities
sudo apt-get -y install xdg-open
# Next, core apps
# TO DO nextcloud
# TO DO keepassxc
# TO DO git
# emacs
sudo apt-get -y install emacs-gtk
sudo apt-get -y install elpa-markdown-mode
mkdir -p ~/.emacs.d/ && mkdir -p ~/.emacs.d/lisp/
cd ~/.emacs.d/lisp/
&& git clone git://github.com/bnbeckwith/wc-mode.git
# pandoc
sudo apt-get -y install pandoc
sudo apt-get -y install pandoc-citeproc
sudo apt-get -y install texlive
# revealjs
# TO DO: https://github.com/hakimel/reveal.js/
# zotero
echo "Go to https://www.zotero.org/download/, download, and put contents in /opt/zotero/ (using sudo)"
echo "Done? Hit Enter"
read response
sudo /opt/zotero/set_launcher_icon
ln -s /opt/zotero/zotero.desktop ~/.local/share/applications/zotero.desktop
# If we change location, update that in .emacs AND pandout.sh script
echo "Installation script complete"
-29
View File
@@ -1,29 +0,0 @@
# Installation script for ntnsndr Deb dev environment
# utils
sudo apt-get -y install xdg-open
# nextcloud
# keepassxc
# emacs
sudo apt-get -y install emacs-gtk
sudo apt-get -y install elpa-markdown-mode
cd ~/.emacs.d/lisp/ && git clone git://github.com/bnbeckwith/wc-mode.git && mv wc-mode/wc-mode.el ./ && rm -rf wc-mode/ && cd ~
# gnome optional stuff
# to get Microsoft Exchange working on Gnome Calendar:
# sudo apt-get install evolution-ews
# pandoc
sudo apt-get -y install pandoc
sudo apt-get -y install pandoc-citeproc
sudo apt-get -y install texlive
# revealjs
# TO DO: https://github.com/hakimel/reveal.js/
# zotero
#DOWNLOAD AND UNPACK IN /opt/zotero
sudo /opt/zotero/set_launcher_icon
ln -s /opt/zotero/zotero.desktop ~/.local/share/applications/zotero.desktop
# IF WE CHANGE LOCATION, UPDATE THAT IN .emacs AND pandout SCRIPT