Skip to content

Instantly share code, notes, and snippets.

@marazmiki
Created January 28, 2020 06:27
Show Gist options
  • Save marazmiki/7232a2245c9efea3306ddb59b4064c74 to your computer and use it in GitHub Desktop.
Save marazmiki/7232a2245c9efea3306ddb59b4064c74 to your computer and use it in GitHub Desktop.
if [ -f ~/.bash/django_autocomplete ]; then
. ~/.bash/django_autocomplete
fi
if [ -f ~/.bash/virtualenv_activator ]; then
. ~/.bash/virtualenv_activator
fi
export PATH="$HOME/.linuxbrew/bin:$PATH"
_pipenv_completion() {
local IFS=$'\t'
COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \if [ -f ~/.bash/django_autocomplete ]; then
. ~/.bash/django_autocomplete
fi
if [ -f ~/.bash/virtualenv_activator ]; then
. ~/.bash/virtualenv_activator
fi
export PATH="$HOME/.linuxbrew/bin:$PATH"
_pipenv_completion() {
local IFS=$'\t'
COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \
COMP_CWORD=$COMP_CWORD \
_PIPENV_COMPLETE=complete-bash $1 ) )
return 0
}
complete -F _pipenv_completion -o default pipenv
export PATH="/home/nopox/.linuxbrew/opt/sphinx-doc/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
export PATH="$HOME/.poetry/bin:$PATH"
~
COMP_CWORD=$COMP_CWORD \
_PIPENV_COMPLETE=complete-bash $1 ) )
return 0
}
complete -F _pipenv_completion -o default pipenv
export PATH="/home/nopox/.linuxbrew/opt/sphinx-doc/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
export PATH="$HOME/.poetry/bin:$PATH"
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment