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