|
|
@ -5,21 +5,21 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
# Return if requirements are not found.
|
|
|
|
# Return if requirements are not found.
|
|
|
|
if [[ ! -d "$HOME/.carton" ]]; then
|
|
|
|
if [[ ! -d "$HOME/.cask" ]]; then
|
|
|
|
return 1
|
|
|
|
return 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Prepend Carton bin directory.
|
|
|
|
# Prepend Cask bin directory.
|
|
|
|
path=($HOME/.carton/bin $path)
|
|
|
|
path=($HOME/.cask/bin $path)
|
|
|
|
|
|
|
|
|
|
|
|
# Load Carton completion
|
|
|
|
# Load Carton completion
|
|
|
|
source "$HOME/.carton/etc/carton_completion.zsh" 2> /dev/null
|
|
|
|
source "$HOME/.cask/etc/cask_completion.zsh" 2> /dev/null
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Aliases
|
|
|
|
# Aliases
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
alias cai='carton install'
|
|
|
|
alias cai='cask install'
|
|
|
|
alias cau='carton update'
|
|
|
|
alias cau='cask update'
|
|
|
|
alias caI='carton init'
|
|
|
|
alias caI='cask init'
|
|
|
|
alias cae='carton exec'
|
|
|
|
alias cae='cask exec'
|
|
|
|