mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-16 05:01:13 +00:00
1ef2555100
Carton was renamed to Cask to avoid a name clash with a Perl utility of that name.
26 lines
441 B
Bash
26 lines
441 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
|
|
#
|
|
|
|
alias cai='cask install'
|
|
alias cau='cask update'
|
|
alias caI='cask init'
|
|
alias cae='cask exec'
|