mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2025-01-23 13:52:16 +08:00
21 lines
444 B
Bash
21 lines
444 B
Bash
#
|
|
# Configures Emacs dependency management.
|
|
#
|
|
# Authors: Sebastian Wiesner <lunaryorn@gmail.com>
|
|
#
|
|
|
|
# Enable Carton
|
|
if [[ -d "$HOME/.carton" ]]; then
|
|
path=($HOME/.carton/bin $path)
|
|
|
|
alias cai='carton install'
|
|
alias cau='carton update'
|
|
alias caI='carton init'
|
|
alias cae='carton exec'
|
|
|
|
local completion="$HOME/.carton/etc/carton_completion.zsh"
|
|
if [[ -e "${completion}" ]]; then
|
|
source "${completion}"
|
|
fi
|
|
fi
|