aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el12
-rw-r--r--.zshrc2
-rwxr-xr-x[-rw-r--r--]bin/ledger0
3 files changed, 10 insertions, 4 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 418c41d..b3583b0 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1,7 +1,7 @@
;; Set up package.el to work with MELPA
(require 'package)
(add-to-list 'package-archives
- '("melpa" . "https://melpa.org/packages/"))
+ '("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(custom-set-variables
@@ -9,14 +9,13 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
- '(package-selected-packages '(auto-complete ledger-mode evil)))
+ '(package-selected-packages '(paredit auto-complete ledger-mode evil)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
-
(when (version<= "26.0.50" emacs-version)
(global-display-line-numbers-mode))
@@ -48,3 +47,10 @@
(package-install 'auto-complete))
(require 'auto-complete)
(ac-config-default)
+
+;; Par Edit
+(unless (package-installed-p 'paredit)
+ (package-install 'paredit))
+(require 'paredit)
+(add-hook 'emacs-lisp-mode-hook (lambda () (paredit-mode 1)))
+
diff --git a/.zshrc b/.zshrc
index fea0494..c12e265 100644
--- a/.zshrc
+++ b/.zshrc
@@ -14,7 +14,7 @@ HISTSIZE=1000
SAVEHIST=1000
HISTFILE=~/.zsh_history
-[ -f ~/.dotfiles/bin ] && export PATH="$HOME/.dotfiles/bin:$PATH"
+[ -d ~/.dotfiles/bin ] && export PATH="$HOME/.dotfiles/bin:$PATH"
[[ -s /etc/profile.d/autojump.sh ]] && source /etc/profile.d/autojump.sh
diff --git a/bin/ledger b/bin/ledger
index c3aa3b5..c3aa3b5 100644..100755
--- a/bin/ledger
+++ b/bin/ledger