prezto_config/modules/emacs/init.zsh

26 lines
459 B
Bash
Raw Normal View History

#
# Configures Emacs dependency management.
#
# Authors: Sebastian Wiesner <lunaryorn@gmail.com>
#
2013-05-18 03:29:44 +02:00
# Return if requirements are not found.
if [[ ! -d "$HOME/.carton" ]]; then
return 1
fi
2013-05-18 03:29:44 +02:00
# Prepend Carton bin directory.
path=($HOME/.carton/bin $path)
2013-05-17 17:19:42 +02:00
2013-05-18 03:29:44 +02:00
# Load Carton completion
source "$HOME/.carton/etc/carton_completion.zsh" 2> /dev/null
#
# Aliases
#
alias cai='carton install'
alias cau='carton update'
alias caI='carton init'
alias cae='carton exec'