2015-01-16 11:37:57 +01:00
|
|
|
if [ -d "$HOME/bin" ]; then
|
|
|
|
export PATH="$PATH:$HOME/bin"
|
|
|
|
fi
|
2014-12-20 11:28:15 +01:00
|
|
|
|
|
|
|
# pip zsh completion start
|
|
|
|
function _pip_completion {
|
|
|
|
local words cword
|
|
|
|
read -Ac words
|
|
|
|
read -cn cword
|
|
|
|
reply=( $( COMP_WORDS="$words[*]" \
|
|
|
|
COMP_CWORD=$(( cword-1 )) \
|
|
|
|
PIP_AUTO_COMPLETE=1 $words[1] ) )
|
|
|
|
}
|
|
|
|
compctl -K _pip_completion pip
|
|
|
|
# pip zsh completion end
|
|
|
|
|