1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-14 21:11:13 +00:00
prezto/modules/emacs/init.zsh

28 lines
507 B
Bash
Raw Normal View History

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