Several updates to both configs
Getty Ritter
9 years ago
19 | 19 |
|
20 | 20 |
|
21 | 21 |
|
22 | 22 |
|
| 23 |
;; Any machine-specific setup can go in an external
|
| 24 |
;; file. If it exists, we should load it:
|
| 25 |
|
| 26 |
(if (file-exists-p "~/.local.el")
|
| 27 |
(load "~/.local.el"))
|
| 28 |
|
| 29 |
|
23 | 30 |
|
| 31 |
|
24 | 32 |
;; *elpa setup
|
25 | 33 |
(require 'package)
|
26 | 34 |
(package-initialize)
|
27 | 35 |
(add-to-list 'package-archives
|
28 | 36 |
'("melpa" . "http://melpa.milkbox.net/packages/") t)
|
| 37 |
(add-to-list 'package-archives
|
| 38 |
'("gelpa" . "http://gelpa.gdritter.com/") t)
|
29 | 39 |
|
30 | 40 |
(unless (package-installed-p 'use-package)
|
31 | 41 |
(package-refresh-contents)
|
32 | 42 |
(package-install 'use-package))
|
33 | 43 |
(require 'use-package)
|
34 | 44 |
|
| 45 |
;; (use-package gidl-mode :ensure t)
|
| 46 |
|
| 47 |
|
35 | 48 |
|
| 49 |
|
| 50 |
;; unicode stuff
|
| 51 |
(use-package unicode-fonts
|
| 52 |
:ensure t
|
| 53 |
:init (unicode-fonts-setup))
|
| 54 |
|
36 | 55 |
|
37 | 56 |
|
38 | 57 |
|
39 | 58 |
;; misc. package setup
|
40 | 59 |
|
41 | 60 |
(use-package magit
|
42 | |
:ensure t)
|
| 61 |
:ensure t
|
| 62 |
:init (progn
|
5 | 5 |
alias la='ls -a'
|
6 | 6 |
alias ll='ls -l'
|
7 | 7 |
alias lpdup='lpr -o sides=two-sided-long-edge -P hp4200n'
|
8 | |
alias iks='ssh ikshvaku'
|
9 | |
alias ros='ssh rosencrantz'
|
10 | |
alias guil='ssh guildenstern'
|
| 8 |
alias iks='command -v mosh 2>&1 1>/dev/null && mosh ikshvaku || ssh ikshvaku'
|
| 9 |
alias ros='command -v mosh 2>&1 1>/dev/null && mosh rosencrantz || ssh rosencrantz'
|
| 10 |
alias guil='command -v mosh 2>&1 1>/dev/null && mosh guildenstern || ssh guildenstern'
|
11 | 11 |
alias iks-elinks='ssh ikshvaku -t "bash -c \". .bashrc && elinks\""'
|
12 | 12 |
alias iks-finch='ssh ikshvaku -t "bash -c \". .bashrc && finch\""'
|
13 | 13 |
alias iks-irssi='ssh ikshvaku -t "bash -c \". .bashrc && irssi\""'
|
|
18 | 18 |
alias textmacs='NARROW=true emacs'
|
19 | 19 |
alias em='EVIL=true BARE=true emacs'
|
20 | 20 |
alias objdump='objdump -M intel'
|
21 | |
alias pr-paper='lpr -P hp4200n -o number-up=2 -o sides=two-sided-long-edge'
|
22 | |
alias bigterm='urxvt -fn "xft:Inconsolata:pixelsize=24"'
|
| 21 |
alias bigterm='urxvt -fn "xft:Inconsolata:pixelsize=20"'
|
23 | 22 |
alias hex2raw="tr -d '\\\x' | xxd -r -p"
|
24 | 23 |
|
25 | 24 |
export EDITOR="emacs -nw"
|