-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stop putting /.emacs.d/ in load path
- Loading branch information
1 parent
8eb5c9e
commit 97b9e4d
Showing
44 changed files
with
18,256 additions
and
1,772 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
auto-save-list | ||
.emacs.desktop.lock | ||
.emacs.desktop | ||
.emacs.desktop | ||
elpa | ||
.DS_Store | ||
src/vendor |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
((("000" . | ||
[1 0 0]) | ||
("isla" . | ||
[1 0 0 0]) | ||
("mary" . | ||
[3 0 0 0]) | ||
("Mary" . | ||
[3 0 0 2]))) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
;;-- init.eshell.prompt | ||
(defun git-dir-branch-string (dir) | ||
"Returns the git branch of the repo containing dir, or nil if | ||
dir is not in a git repo." | ||
(interactive) | ||
(let* ((git-output (shell-command-to-string | ||
(concat "cd " dir " " | ||
"&& git symbolic-ref HEAD 2>/dev/null | awk -F / {'print $NF'}"))) | ||
(branch-name (replace-regexp-in-string "\n" "" git-output))) | ||
(when (> (length git-output) 0) | ||
(substring git-output 0 -1)))) | ||
|
||
; ~/.emacs.d/user [master] > command | ||
(setq eshell-prompt-function | ||
(lambda () | ||
(concat | ||
;; directory | ||
(propertize (abbreviate-file-name (eshell/pwd)) | ||
'face `(:foreground ,"#0000FF")) | ||
;; git branch information | ||
(let ((git-branch (git-dir-branch-string "."))) | ||
(if git-branch | ||
(propertize (concat " [" git-branch "]") | ||
'face `(:foreground ,"#FFFF00")) | ||
"")) | ||
;; prompt | ||
(propertize " >" 'face `(:foreground ,"#FFAA00" | ||
:weight bold)) | ||
(propertize " " 'face 'default)))) | ||
|
||
;; this unfortunately has to match the output of `eshell-prompt-function` | ||
(setq eshell-prompt-regexp "^[^>]* > ") | ||
|
||
;; highlighting the prompt prevents all other prompt styling | ||
(setq eshell-highlight-prompt nil) | ||
|
||
;; ignore case during completion | ||
(setq eshell-cmpl-ignore-case t) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
(+ 1 1) | ||
ls | ||
ls -l | ||
top | ||
ls | ||
(+ 1 1) | ||
(+ 1 1) | ||
ls | ||
cd thing/coquette/ | ||
ls | ||
ls -l | ||
ls -l |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/Users/maryrosecook/code | ||
/Users/maryrosecook/code/thing/coquette | ||
~/.emacs.d | ||
/Users/maryrosecook/code/thing |
File renamed without changes.
Oops, something went wrong.