2013-02-03 09:15:17 +00:00
|
|
|
#
|
|
|
|
# Configures Emacs dependency management.
|
|
|
|
#
|
|
|
|
# Authors: Sebastian Wiesner <lunaryorn@gmail.com>
|
|
|
|
#
|
|
|
|
|
2013-05-18 01:29:44 +00:00
|
|
|
# Return if requirements are not found.
|
2013-08-10 14:55:01 +00:00
|
|
|
if [[ ! -d "$HOME/.cask" ]]; then
|
2013-05-18 01:29:44 +00:00
|
|
|
return 1
|
|
|
|
fi
|
2013-02-03 09:15:17 +00:00
|
|
|
|
2013-08-10 14:55:01 +00:00
|
|
|
# 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
|
2013-08-10 14:55:01 +00:00
|
|
|
source "$HOME/.cask/etc/cask_completion.zsh" 2> /dev/null
|
2013-05-18 01:29:44 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Aliases
|
|
|
|
#
|
|
|
|
|
2023-04-13 02:02:41 +00:00
|
|
|
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
|