mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 18:38:00 +00:00
28 lines
507 B
Bash
28 lines
507 B
Bash
#
|
|
# Configures Emacs dependency management.
|
|
#
|
|
# Authors: Sebastian Wiesner <lunaryorn@gmail.com>
|
|
#
|
|
|
|
# Return if requirements are not found.
|
|
if [[ ! -d "$HOME/.cask" ]]; then
|
|
return 1
|
|
fi
|
|
|
|
# Prepend Cask bin directory.
|
|
path=($HOME/.cask/bin $path)
|
|
|
|
# Load Carton completion
|
|
source "$HOME/.cask/etc/cask_completion.zsh" 2> /dev/null
|
|
|
|
#
|
|
# 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
|