updates for mu4e and erc.

This commit is contained in:
2014-11-22 05:09:53 -08:00
parent 7080027290
commit 4edd75b6e1
8 changed files with 31 additions and 6 deletions

View File

@@ -84,11 +84,13 @@
"lzip",
"make",
"mercurial",
"mu",
"netcat",
"nettle",
"ngrep",
"nmap",
"node",
"offline-imap",
"openssl",
"ossp-uuid",
"pandoc",

View File

@@ -70,6 +70,10 @@ function emacs_open {
focus_emacs
}
function time_emacs {
time \emacs --daemon="timing" && emacsclient -e "(kill-emacs)" --server-file="timing"
}
# Make emacs the default editor.
export EDITOR='emacs_open'
export VISUAL="$EDITOR"

View File

@@ -270,3 +270,9 @@ function track_modified {
function python_module_path {
python -c "import os, $1; print(os.path.dirname($1.__file__))"
}
function mu4e_directory {
if is_osx; then
echo "$(brew --prefix mu)/share/emacs/site-lisp/mu4e"
fi
}

View File

@@ -3,6 +3,7 @@ for filename in ~/.lib/zsh/*; do
done
alias srczsh="source ~/.zshrc"
alias zshenv="source ~/.zshenv"
# Online help.
unalias run-help 2> /dev/null 1>/dev/null

View File

@@ -2,4 +2,4 @@
source ~/.lib/shellrc.sh
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
source ~/.lib/zsh.sh
test -r ~/custom.zsh && source ~/custom.zsh
test -r ~/.custom.sh && source ~/.custom.sh