Updated .emacs a bit and changed install.sh to install-deb and install-arch
This commit is contained in:
@@ -12,13 +12,17 @@
|
|||||||
;; For important compatibility libraries like cl-lib
|
;; For important compatibility libraries like cl-lib
|
||||||
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
|
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
|
|
||||||
;; setting the default directory for extra packages
|
;; setting the default directory for extra packages
|
||||||
(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
|
||||||
(menu-bar-mode -1)
|
(setq inhibit-startup-message t
|
||||||
|
inhibit-startup-echo-area-message t)
|
||||||
|
;; turns off the menus at top
|
||||||
|
(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)
|
||||||
|
|||||||
@@ -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"
|
||||||
@@ -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"
|
||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user